Commit a44794af authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Fix misleading indentation in gets.

parent 5ed6fd9a
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment