Skip to content
Snippets Groups Projects
Commit 099e390a authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

The first argument to sbbs_t::uselect() is actually a boolean

parent 90755c69
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -46,7 +46,7 @@ void sbbs_t::redrwstr(char *strin, int i, int l, int mode) ...@@ -46,7 +46,7 @@ void sbbs_t::redrwstr(char *strin, int i, int l, int mode)
} }
} }
int sbbs_t::uselect(int add, uint n, const char *title, const char *item, const uchar *ar) int sbbs_t::uselect(bool add, uint n, const char *title, const char *item, const uchar *ar)
{ {
char str[128]; char str[128];
int i; int i;
......
...@@ -958,7 +958,7 @@ public: ...@@ -958,7 +958,7 @@ public:
bool random_menu(const char *code, int mode = 0, JSObject* obj = NULL); bool random_menu(const char *code, int mode = 0, JSObject* obj = NULL);
bool menu_exists(const char *code, const char* ext=NULL, char* realpath=NULL); bool menu_exists(const char *code, const char* ext=NULL, char* realpath=NULL);
int uselect(int add, uint n, const char *title, const char *item, const uchar *ar); int uselect(bool add, uint n, const char *title, const char *item, const uchar *ar);
uint uselect_total = 0, uselect_num[500]{}; uint uselect_total = 0, uselect_num[500]{};
int mselect(const char *title, str_list_t list, unsigned max_selections, const char* item_fmt, const char* selected_str, const char* unselected_str, const char* prompt_fmt); int mselect(const char *title, str_list_t list, unsigned max_selections, const char* item_fmt, const char* selected_str, const char* unselected_str, const char* prompt_fmt);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment