mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
Remove trailing slash from CARD_ROOT
This commit is contained in:
@@ -63,7 +63,7 @@ Menu::Menu(GMenu2X *gmenu2x, Touchscreen &ts)
|
||||
if (dptr->d_type != DT_DIR)
|
||||
continue;
|
||||
|
||||
string path = (string) CARD_ROOT + dptr->d_name + "/apps";
|
||||
string path = (string) CARD_ROOT + "/" + dptr->d_name + "/apps";
|
||||
if (access(path.c_str(), F_OK))
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user