Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
099e390a
Commit
099e390a
authored
1 year ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
The first argument to sbbs_t::uselect() is actually a boolean
parent
90755c69
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!463
MRC mods by Codefenix (2024-10-20)
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sbbs3/con_hi.cpp
+1
-1
1 addition, 1 deletion
src/sbbs3/con_hi.cpp
src/sbbs3/sbbs.h
+1
-1
1 addition, 1 deletion
src/sbbs3/sbbs.h
with
2 additions
and
2 deletions
src/sbbs3/con_hi.cpp
+
1
−
1
View file @
099e390a
...
...
@@ -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
];
int
i
;
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/sbbs.h
+
1
−
1
View file @
099e390a
...
...
@@ -958,7 +958,7 @@ public:
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
);
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
]{};
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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment