Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a44794af
Commit
a44794af
authored
Mar 01, 2018
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix misleading indentation in gets.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5ed6fd9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
file.c
dlls/msvcrt/file.c
+5
-3
No files found.
dlls/msvcrt/file.c
View file @
a44794af
...
...
@@ -4714,9 +4714,11 @@ char * CDECL MSVCRT_gets(char *buf)
MSVCRT__lock_file
(
MSVCRT_stdin
);
for
(
cc
=
MSVCRT__fgetc_nolock
(
MSVCRT_stdin
);
cc
!=
MSVCRT_EOF
&&
cc
!=
'\n'
;
cc
=
MSVCRT__fgetc_nolock
(
MSVCRT_stdin
))
if
(
cc
!=
'\r'
)
*
buf
++
=
(
char
)
cc
;
cc
=
MSVCRT__fgetc_nolock
(
MSVCRT_stdin
))
{
if
(
cc
!=
'\r'
)
*
buf
++
=
(
char
)
cc
;
}
*
buf
=
'\0'
;
TRACE
(
"got '%s'
\n
"
,
buf_start
);
...
...
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