mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 23:25:50 +03:00
lsteamclient: Return empty string from steamclient_dos_to_unix_path() when conversion failed.
CW-Bug-Id: #23664
This commit is contained in:
parent
a287ebaaf9
commit
6e7e17776e
@ -503,7 +503,7 @@ char *steamclient_dos_to_unix_path( const char *src, int is_url )
|
||||
if (!unix_path)
|
||||
{
|
||||
WARN( "Unable to convert DOS filename to unix: %s\n", src );
|
||||
return NULL;
|
||||
goto done;
|
||||
}
|
||||
|
||||
lstrcpynA( dst, unix_path, PATH_MAX );
|
||||
|
Loading…
Reference in New Issue
Block a user