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
38724d1c
Commit
38724d1c
authored
Jul 25, 2003
by
rswindell
Browse files
Fixed word-wrap bug in getstr() - not printing cr/lf.
parent
95e9ef6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/sbbs3/getstr.cpp
src/sbbs3/getstr.cpp
+3
-3
No files found.
src/sbbs3/getstr.cpp
View file @
38724d1c
...
...
@@ -507,15 +507,15 @@ size_t sbbs_t::getstr(char *strout, size_t maxlen, long mode)
wordwrap
[
z
]
=
0
;
if
(
!
(
mode
&
K_NOECHO
))
while
(
z
--
)
{
b
puts
(
"
\b
\b
"
);
r
puts
(
"
\b
\b
"
);
i
--
;
}
strrev
(
wordwrap
);
str1
[
x
]
=
0
;
strcpy
(
strout
,
str1
);
if
(
strip_invalid_attr
(
strout
)
&&
!
(
mode
&
K_NOECHO
))
redrwstr
(
strout
,
i
,
x
,
(
char
)
mode
);
if
(
!
(
mode
&
K_NOECHO
|
K_NOCRLF
))
redrwstr
(
strout
,
i
,
x
,
mode
);
if
(
!
(
mode
&
(
K_NOECHO
|
K_NOCRLF
))
)
CRLF
;
return
(
x
);
}
...
...
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