mirror of
https://github.com/reactos/wine.git
synced 2025-01-27 23:13:34 +00:00
Bugfix: get_sobasename was off by one pointer increment.
This commit is contained in:
parent
9173f04ba9
commit
6e709a1ed0
@ -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, '\\');
|
||||
|
Loading…
x
Reference in New Issue
Block a user