mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-08-02 13:46:21 +00:00
upstream: Return error on /time <invalid-section> (29129bf88)
This commit is contained in:
@@ -5400,6 +5400,9 @@ cmd_time(ProfWin* window, const char* const command, gchar** args)
|
|||||||
if (!set_all && n == ARRAY_SIZE(time_prefs)) {
|
if (!set_all && n == ARRAY_SIZE(time_prefs)) {
|
||||||
cons_bad_cmd_usage(command);
|
cons_bad_cmd_usage(command);
|
||||||
}
|
}
|
||||||
|
if (!set_all && n == ARRAY_SIZE(time_prefs)) {
|
||||||
|
cons_bad_cmd_usage(command);
|
||||||
|
}
|
||||||
if (redraw)
|
if (redraw)
|
||||||
ui_redraw();
|
ui_redraw();
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|||||||
Reference in New Issue
Block a user