From c21137129adf0e8dcb08ef43aa8174c8f935ca06 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 14 Jul 2011 18:18:31 +0200 Subject: Do not unnecessarily refresh in config menu We don't need to refresh windows every time an unassigned key is pressed. Add a condition to skip the refresh part if that is the case. Signed-off-by: Lukas Fleischer --- src/calcurse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calcurse.c b/src/calcurse.c index 0ae7e9a..4a16cdb 100644 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -283,6 +283,8 @@ main (int argc, char **argv) case 'S': custom_sidebar_config (); break; + default: + continue; } wins_reset (); wins_update (); -- cgit v1.2.3-70-g09d2