Commit b6a081ea authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

usp10: Fixed border condition in shifts (Coverity).

parent 318169a8
......@@ -837,7 +837,7 @@ static int CALLBACK enumFontProc( const LOGFONTA *lpelfe, const TEXTMETRICA *lpn
return 1;
i = rp->range;
while (i > sizeof(DWORD)*8)
while (i >= sizeof(DWORD)*8)
{
idx++;
i -= (sizeof(DWORD)*8);
......
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