mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-26 07:15:27 +01:00
add trailing slash to paths
This commit is contained in:
parent
ec7620e9e4
commit
053106052e
@ -611,6 +611,10 @@ ParseDirectory(bool waitParse, bool filter)
|
|||||||
parseFilter = filter;
|
parseFilter = filter;
|
||||||
|
|
||||||
ResetBrowser(); // reset browser
|
ResetBrowser(); // reset browser
|
||||||
|
|
||||||
|
// add trailing slash
|
||||||
|
if(browser.dir[strlen(browser.dir)-1] != '/')
|
||||||
|
strcat(browser.dir, "/");
|
||||||
|
|
||||||
// open the directory
|
// open the directory
|
||||||
while(dir == NULL && retry == 1)
|
while(dir == NULL && retry == 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user