mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
kernel32: Allow for non base-10 int values in ini file.
This commit is contained in:
parent
1c632cd0fb
commit
00eca70b2a
1 changed files with 1 additions and 1 deletions
|
@ -1288,7 +1288,7 @@ UINT WINAPI GetPrivateProfileIntW( LPCWSTR section, LPCWSTR entry,
|
|||
if (!buffer[0]) return (UINT)def_val;
|
||||
|
||||
RtlInitUnicodeString( &bufferW, buffer );
|
||||
RtlUnicodeStringToInteger( &bufferW, 10, &result);
|
||||
RtlUnicodeStringToInteger( &bufferW, 0, &result);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue