mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-26 02:17:53 +00:00
Fix bug?
This commit is contained in:
parent
b67fb73fb4
commit
a717edd12e
1 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ void ExtractBasename(const char *filename, char *buf, size_t bufSz) {
|
|||
size_t len = strlen(filename);
|
||||
const char *end = filename + len;
|
||||
const char *ext = end;
|
||||
const char *base = filename;
|
||||
const char *base = NULL;
|
||||
while(--end != filename && !base) {
|
||||
if(*end == '.') {
|
||||
ext = end;
|
||||
|
|
Loading…
Reference in a new issue