mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-04-08 10:39:11 +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)
|
if (!unix_path)
|
||||||
{
|
{
|
||||||
WARN( "Unable to convert DOS filename to unix: %s\n", src );
|
WARN( "Unable to convert DOS filename to unix: %s\n", src );
|
||||||
return NULL;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
lstrcpynA( dst, unix_path, PATH_MAX );
|
lstrcpynA( dst, unix_path, PATH_MAX );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user