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
@ -611,6 +611,10 @@ ParseDirectory(bool waitParse, bool filter)
|
||||
|
||||
ResetBrowser(); // reset browser
|
||||
|
||||
// add trailing slash
|
||||
if(browser.dir[strlen(browser.dir)-1] != '/')
|
||||
strcat(browser.dir, "/");
|
||||
|
||||
// open the directory
|
||||
while(dir == NULL && retry == 1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user