mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-22 05:36:09 +01: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue