Commit 6f4a1817 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Flush standard streams in flushall function.

parent e1605911
......@@ -860,7 +860,7 @@ static int msvcrt_flush_all_buffers(int mask)
MSVCRT_FILE *file;
LOCK_FILES();
for (i = 3; i < MSVCRT_stream_idx; i++) {
for (i = 0; i < MSVCRT_stream_idx; i++) {
file = msvcrt_get_file(i);
if (file->_flag)
......
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