mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-25 20:16:53 +01:00
add trailing slash to paths
This commit is contained in:
parent
478ecf5674
commit
6ff121a1fd
@ -612,6 +612,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