mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-27 21:14:21 +01:00
add trailing slash to paths
This commit is contained in:
parent
9fae5f0b42
commit
86b15fb903
@ -610,6 +610,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…
Reference in New Issue
Block a user