From bbbd42787c1c7d7cd171e37e64fd6a68376079a4 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 13 Apr 2007 19:01:50 +0800 Subject: [PATCH] kernel32: Fix non-terminated separator string. --- dlls/kernel32/locale.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c index ee6967b40eb..6e96eea4346 100644 --- a/dlls/kernel32/locale.c +++ b/dlls/kernel32/locale.c @@ -325,8 +325,8 @@ done: */ static void parse_locale_name( const WCHAR *str, struct locale_name *name ) { - static const WCHAR sepW[] = {'-','_','.','@'}; - static const WCHAR winsepW[] = {'-','_'}; + static const WCHAR sepW[] = {'-','_','.','@',0}; + static const WCHAR winsepW[] = {'-','_',0}; static const WCHAR posixW[] = {'P','O','S','I','X',0}; static const WCHAR cW[] = {'C',0}; static const WCHAR latinW[] = {'l','a','t','i','n',0}; -- 2.11.4.GIT