mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-20 09:34:09 +00:00
Change back to previous behavior
This commit is contained in:
parent
ac0b2799c5
commit
fd76c3b8b1
@ -391,8 +391,9 @@ char *path_remove_extension(char *path)
|
||||
char *last = !string_is_empty(path)
|
||||
? (char*)strrchr(path_basename(path), '.') : NULL;
|
||||
if (!last)
|
||||
return path;
|
||||
*last = '\0';
|
||||
return NULL;
|
||||
if (*last)
|
||||
*last = '\0';
|
||||
return path;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user