mirror of
https://github.com/libretro/snes9x.git
synced 2025-01-21 08:06:35 +00:00
Handle . in extension for _makepath.
This commit is contained in:
parent
cfd8b299ba
commit
ba8b9711d6
@ -60,7 +60,8 @@ void _makepath(char *path, const char *drive, const char *dir, const char *fname
|
||||
|
||||
if (ext && *ext)
|
||||
{
|
||||
strcat(path, ".");
|
||||
if (*ext != '.')
|
||||
strcat(path, ".");
|
||||
strcat(path, ext);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user