Fix output for tray timer setting

This commit is contained in:
James Booth
2016-05-15 02:15:45 +01:00
parent c6a6e3a51c
commit a04e34fddc
2 changed files with 10 additions and 2 deletions

View File

@@ -1195,7 +1195,11 @@ cons_tray_setting(void)
cons_show("Tray icon read (/tray) : OFF");
int seconds = prefs_get_tray_timer();
cons_show("Tray timer (/tray) : %d seconds", seconds);
if (seconds == 1) {
cons_show("Tray timer (/tray) : 1 second");
} else {
cons_show("Tray timer (/tray) : %d seconds", seconds);
}
}
void