Skip to content
Snippets Groups Projects
Commit 26babd8a authored by deuce's avatar deuce
Browse files

Add help for sorting menu.

parent e09551d6
Branches
Tags
No related merge requests found
...@@ -461,6 +461,12 @@ void edit_sorting(struct bbslist **list, int *listcount) ...@@ -461,6 +461,12 @@ void edit_sorting(struct bbslist **list, int *listcount)
else else
opt[i][0]=0; opt[i][0]=0;
} }
uifc.helpbuf= "`Sort Order`\n\n"
"Move the highlight bar to the position you would like\n"
"to add a new ordering before and press ~INSERT~. Choose\n"
"a field from the list and it will be inserted.\n\n"
"To remove a sort order, use ~DELETE~.\n\n"
"To reverse a sort order, highlight it and press enter";
ret=uifc.list(WIN_XTR|WIN_DEL|WIN_INS|WIN_INSACT|WIN_ACT|WIN_SAV ret=uifc.list(WIN_XTR|WIN_DEL|WIN_INS|WIN_INSACT|WIN_ACT|WIN_SAV
,0,0,0,&curr,&bar,"Sort Order",opts); ,0,0,0,&curr,&bar,"Sort Order",opts);
if(ret==-1) if(ret==-1)
...@@ -479,6 +485,7 @@ void edit_sorting(struct bbslist **list, int *listcount) ...@@ -479,6 +485,7 @@ void edit_sorting(struct bbslist **list, int *listcount)
} }
else { else {
sopt[j][0]=0; sopt[j][0]=0;
uifc.helpbuf= "Select a sort order to add and press enter";
sret=uifc.list(WIN_SAV|WIN_BOT|WIN_RHT sret=uifc.list(WIN_SAV|WIN_BOT|WIN_RHT
,0,0,0,&scurr,&sbar,"Sort Field",sopts); ,0,0,0,&scurr,&sbar,"Sort Field",sopts);
if(sret>=0) { if(sret>=0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment