mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 21:26:21 +00:00
use custom format string for time preference
This commit is contained in:
@@ -919,12 +919,10 @@ void
|
||||
cons_time_setting(void)
|
||||
{
|
||||
char *pref_time = prefs_get_string(PREF_TIME);
|
||||
if (g_strcmp0(pref_time, "minutes") == 0)
|
||||
cons_show("Time (/time) : minutes");
|
||||
else if (g_strcmp0(pref_time, "off") == 0)
|
||||
if (g_strcmp0(pref_time, "off") == 0)
|
||||
cons_show("Time (/time) : OFF");
|
||||
else
|
||||
cons_show("Time (/time) : seconds");
|
||||
cons_show("Time (/time) : %s", pref_time);
|
||||
|
||||
prefs_free_string(pref_time);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user