Commit 00eca70b authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

kernel32: Allow for non base-10 int values in ini file.

parent 1c632cd0
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment