kernel32: Fix non-terminated separator string.

This commit is contained in:
Chia-I Wu 2007-04-13 19:01:50 +08:00 committed by Alexandre Julliard
parent 29e8ac74fe
commit bbbd42787c

View file

@ -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};