mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-14 15:48:11 +03:00
steamclient: Fix up converting stringlist
This commit is contained in:
parent
83871c7bf9
commit
c74de6a23b
@ -132,7 +132,7 @@ const char **steamclient_dos_to_unix_stringlist(const char **src)
|
||||
const char *r;
|
||||
char *l;
|
||||
*o = HeapAlloc(GetProcessHeap(), 0, strlen(*s) + 1);
|
||||
for(l = *s, r = *o; *l; ++l, ++r){
|
||||
for(r = *s, l = *o; *r; ++l, ++r){
|
||||
if(*r == '\\')
|
||||
*l = '/';
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user