mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
kernel32: Allow for non base-10 int values in ini file.
This commit is contained in:
parent
1c632cd0fb
commit
00eca70b2a
@ -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 New Issue
Block a user