Chia-I Wu : kernel32: Fix non-terminated separator string.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Apr 16 07:08:40 CDT 2007
Module: wine
Branch: master
Commit: bbbd42787c1c7d7cd171e37e64fd6a68376079a4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bbbd42787c1c7d7cd171e37e64fd6a68376079a4
Author: Chia-I Wu <b90201047 at ntu.edu.tw>
Date: Fri Apr 13 19:01:50 2007 +0800
kernel32: Fix non-terminated separator string.
---
dlls/kernel32/locale.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c
index ee6967b..6e96eea 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};
More information about the wine-cvs
mailing list