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

Alexandre Julliard julliard at wine.codeweavers.com
Tue Feb 27 06:46:17 CST 2007


Module: wine
Branch: master
Commit: 00eca70b2ad69abd97f75bd055e837cf1be9a6de
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=00eca70b2ad69abd97f75bd055e837cf1be9a6de

Author: Aric Stewart <aric at codeweavers.com>
Date:   Tue Feb 27 18:15:17 2007 +0900

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

---

 dlls/kernel32/profile.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/profile.c b/dlls/kernel32/profile.c
index 339b852..b48f5e9 100644
--- a/dlls/kernel32/profile.c
+++ b/dlls/kernel32/profile.c
@@ -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;
 }
 




More information about the wine-cvs mailing list