1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-23 08:57:32 +02:00

Set card root to /media by default for the Dingux port.

This commit is contained in:
Ayla 2011-08-11 03:42:18 +02:00
parent 3d3e0fa566
commit 4fd4b234dc

View File

@ -87,10 +87,12 @@
#ifdef _CARD_ROOT #ifdef _CARD_ROOT
const char *CARD_ROOT = _CARD_ROOT; const char *CARD_ROOT = _CARD_ROOT;
#elif defined(PLATFORM_DINGUX)
const char *CARD_ROOT = "/media/";
#else #else
const char *CARD_ROOT = "/card/"; //Note: Add a trailing /! const char *CARD_ROOT = "/card/"; //Note: Add a trailing /!
#endif #endif
const int CARD_ROOT_LEN = 5; const int CARD_ROOT_LEN = strlen(CARD_ROOT)-1;
static GMenu2X *app; static GMenu2X *app;
static string gmenu2x_home; static string gmenu2x_home;