Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
97133fb9
Commit
97133fb9
authored
Apr 26, 2002
by
rswindell
Browse files
Fixed ulist - allowing return of invalid option number.
parent
5a9be21a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/uifc/uifcx.c
src/uifc/uifcx.c
+1
-1
No files found.
src/uifc/uifcx.c
View file @
97133fb9
...
...
@@ -248,7 +248,7 @@ int ulist(int mode, int left, int top, int width, int *cur, int *bar
truncsp
(
str
);
i
=
atoi
(
str
);
if
(
i
>
0
)
{
if
(
i
>
0
&&
i
<=
opts
)
{
*
cur
=--
i
;
return
(
*
cur
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment