From 9443de478321bf6334653c3d0085c77bdb6dfc26 Mon Sep 17 00:00:00 2001 From: Lars Henriksen Date: Fri, 3 Nov 2017 21:28:54 +0100 Subject: Remove unused argument from wins_other_status_page Signed-off-by: Lukas Fleischer --- src/calcurse.c | 2 +- src/calcurse.h | 2 +- src/wins.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/calcurse.c b/src/calcurse.c index bdd1761..2c5cd9f 100644 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -77,7 +77,7 @@ static inline void key_generic_change_view(void) static inline void key_generic_other_cmd(void) { - wins_other_status_page(wins_slctd()); + wins_other_status_page(); wins_update(FLAG_STA); } diff --git a/src/calcurse.h b/src/calcurse.h index 85e36b2..60ccebc 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -1255,7 +1255,7 @@ void wins_set_bindings(int *, int); void wins_update_bindings(void); void wins_status_bar(void); void wins_erase_status_bar(void); -void wins_other_status_page(int); +void wins_other_status_page(); void wins_reset_status_page(void); #endif /* CALCURSE_H */ diff --git a/src/wins.c b/src/wins.c index 5a28dc7..c129dec 100644 --- a/src/wins.c +++ b/src/wins.c @@ -730,7 +730,7 @@ void wins_erase_status_bar(void) } /* Update the status bar page number to display other commands. */ -void wins_other_status_page(int panel) +void wins_other_status_page() { /* * Determine the number of completely filled pages of key bindings. -- cgit v1.2.3-70-g09d2