mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
kernel32: Fix 64-bits error in profile.
This commit is contained in:
parent
bb7db79b00
commit
5f4275970e
@ -1104,7 +1104,7 @@ static int PROFILE_GetPrivateProfileString( LPCWSTR section, LPCWSTR entry,
|
||||
/* strip any trailing ' ' of def_val. */
|
||||
if (def_val)
|
||||
{
|
||||
LPCWSTR p = &def_val[strlenW(def_val) - 1];
|
||||
LPCWSTR p = def_val + strlenW(def_val) - 1;
|
||||
|
||||
while (p > def_val && *p == ' ')
|
||||
p--;
|
||||
|
Loading…
Reference in New Issue
Block a user