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

This commit is contained in:
Aric Stewart 2007-02-27 18:15:17 +09:00 committed by Alexandre Julliard
parent 1c632cd0fb
commit 00eca70b2a

View file

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