[Bug 5096] New: Wrong thousand separator for Russian and Ukrainian
locale
Wine Bugs
wine-bugs at winehq.org
Thu Apr 20 09:13:36 CDT 2006
http://bugs.winehq.org/show_bug.cgi?id=5096
Summary: Wrong thousand separator for Russian and Ukrainian
locale
Product: Wine
Version: 0.9.12.
Platform: PC
OS/Version: Windows 98
Status: UNCONFIRMED
Severity: normal
Priority: P4
Component: wine-kernel
AssignedTo: wine-bugs at winehq.org
ReportedBy: vovamal at uk2.net
Thousand separator for these locales must be unbreakable space ('\x00a0').
But this character is considered as space character (isspaceW returns 1) when it
is written to win.ini (see PROFILE_SetString in profile.c). Therefore, the item
'sThousand' is saved as empty value in win.ini.
Another problem is in the function PROFILE_CopyEntry (profile.c). Sometimes it
works incorrectly with quoted values. When it is called like this
PROFILE_CopyEntry( buffer, L"\" \"", 2, TRUE );
it copies L"" instead of L" ".
To fix this the line No. 118 in profile.c:
if (quote && (len >= strlenW(value))) buffer[strlenW(buffer)-1] = '\0';
should be changed to
if (quote && (len > strlenW(value))) buffer[strlenW(buffer)-1] = '\0';
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list