Skip to content
Snippets Groups Projects
Commit ffc17dbe authored by Tony Lambregts's avatar Tony Lambregts Committed by Alexandre Julliard
Browse files

Fix bug in CharPrevExA().

parent fc799066
No related branches found
No related tags found
No related merge requests found
......@@ -236,7 +236,7 @@ LPSTR WINAPI CharPrevExA( WORD codepage, LPCSTR start, LPCSTR ptr, DWORD flags )
while (*start && (start < ptr))
{
LPCSTR next = CharNextExA( codepage, start, flags );
if (next > ptr) break;
if (next >= ptr) break;
start = next;
}
return (LPSTR)start;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment