1
0
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:
Paul Cercueil
2013-07-19 11:54:09 -04:00
parent 0264b724d6
commit 04d9d9322d
4 changed files with 6 additions and 7 deletions

View File

@@ -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;