mirror of
https://github.com/suyu-emu/Yucom.git
synced 2026-09-21 13:22:43 -07:00
lsteamclient: Fix end of string check in relative path conversion.
This commit is contained in:
committed by
Andrew Eikum
parent
0447662cef
commit
4f31b3b2b8
@@ -164,7 +164,7 @@ bool steamclient_dos_path_to_unix_path(const char *src, char *dst, int is_url)
|
||||
const char *s;
|
||||
char *d;
|
||||
|
||||
for(s = src, d = dst; *src; ++s, ++d){
|
||||
for(s = src, d = dst; *s; ++s, ++d){
|
||||
if(*s == '\\')
|
||||
*d = '/';
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user