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
41ce191d
Commit
41ce191d
authored
Mar 02, 2022
by
Rob Swindell
💬
Browse files
getchar() returns int, not char
CID 319110
parent
bea7394e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/sbbs3/slog.c
src/sbbs3/slog.c
+1
-1
No files found.
src/sbbs3/slog.c
View file @
41ce191d
...
...
@@ -113,7 +113,7 @@ while(l>-1L) {
if
(
pause
&&
lncntr
>=
20
)
{
printf
(
"More (Y/n) ? "
);
fflush
(
stdout
);
char
ch
=
getchar
();
int
ch
=
getchar
();
if
(
ch
==
CTRL_C
||
toupper
(
ch
)
==
'N'
)
break
;
printf
(
"
\r
"
);
...
...
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