lsteamclient: Return empty string from steamclient_dos_to_unix_path() when conversion failed.

CW-Bug-Id: #23664
This commit is contained in:
Paul Gofman 2024-04-10 15:11:59 -06:00
parent a287ebaaf9
commit 6e7e17776e

View File

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