summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2017-11-03 21:28:54 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2017-11-03 21:41:28 +0100
commit9443de478321bf6334653c3d0085c77bdb6dfc26 (patch)
treefadafd78ec10280eb3c01223b54cbdbaa8361728
parent8b92fde3a3d4213ac6736c2b73328a98be250bcc (diff)
downloadcalcurse-9443de478321bf6334653c3d0085c77bdb6dfc26.tar.gz
calcurse-9443de478321bf6334653c3d0085c77bdb6dfc26.zip
Remove unused argument from wins_other_status_page
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
-rw-r--r--src/calcurse.c2
-rw-r--r--src/calcurse.h2
-rw-r--r--src/wins.c2
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.