summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.