lsteamclient: Fix end of string check in relative path conversion.

This commit is contained in:
Paul Gofman 2020-10-23 18:23:09 +03:00 committed by Andrew Eikum
parent bc6237f9b1
commit dd1b59b191

View File

@ -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