mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 18:56:48 +00:00
- Patch by hto: Suspicious code in User32.dll, see bug 3935.
svn path=/trunk/; revision=37922
This commit is contained in:
parent
c63a203efa
commit
cbe31af1b2
1 changed files with 2 additions and 2 deletions
|
@ -676,9 +676,10 @@ static void TEXT_SkipChars (int *new_count, const WCHAR **new_str,
|
||||||
assert (max >= n);
|
assert (max >= n);
|
||||||
max -= n;
|
max -= n;
|
||||||
while (n--)
|
while (n--)
|
||||||
|
{
|
||||||
if (*start_str++ == PREFIX && max--)
|
if (*start_str++ == PREFIX && max--)
|
||||||
start_str++;
|
start_str++;
|
||||||
else;
|
}
|
||||||
start_count -= (start_str - str_on_entry);
|
start_count -= (start_str - str_on_entry);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -736,7 +737,6 @@ static int TEXT_Reprefix (const WCHAR *str, unsigned int ns,
|
||||||
str++;
|
str++;
|
||||||
ns--;
|
ns--;
|
||||||
}
|
}
|
||||||
else;
|
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in a new issue