Commit 6e709a1e authored by Ulrich Czekalla's avatar Ulrich Czekalla Committed by Alexandre Julliard

Bugfix: get_sobasename was off by one pointer increment.

parent 9173f04b
......@@ -119,9 +119,7 @@ static LPSTR get_sobasename(LPCSTR path, LPSTR name)
{
char *cp = strrchr(cptr+1, '\\');
if(cp && cp > cptr)
cptr = cp+1;
else
cptr++;
cptr = cp;
}
else
cptr = strrchr(path, '\\');
......
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