Author and version no longer show for folders
This commit is contained in:
parent
482bdf54e1
commit
569778db84
@ -133,6 +133,8 @@ static void drawEntry(menuEntry_s* me, int n, int is_active) {
|
||||
start_y = 135;
|
||||
|
||||
DrawText(tahoma24, start_x + 256 + 64, start_y, MakeColor(255, 255, 255, 255), me->name);
|
||||
|
||||
if (me->type != ENTRY_TYPE_FOLDER) {
|
||||
memset(tmpstr, 0, sizeof(tmpstr));
|
||||
snprintf(tmpstr, sizeof(tmpstr)-1, "Author: %s", me->author);
|
||||
DrawText(tahoma12, start_x + 256 + 64, start_y + 28 + 30, MakeColor(255, 255, 255, 255), tmpstr);
|
||||
@ -140,6 +142,7 @@ static void drawEntry(menuEntry_s* me, int n, int is_active) {
|
||||
snprintf(tmpstr, sizeof(tmpstr)-1, "Version: %s", me->version);
|
||||
DrawText(tahoma12, start_x + 256 + 64, start_y + 28 + 30 + 18 + 6, MakeColor(255, 255, 255, 255), tmpstr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void menuStartup() {
|
||||
|
Loading…
Reference in New Issue
Block a user