msvcrt: Flush standard streams in flushall function.

This commit is contained in:
Piotr Caban 2014-01-28 10:08:32 +01:00 committed by Alexandre Julliard
parent e16059113c
commit 6f4a181709
1 changed files with 1 additions and 1 deletions

View File

@ -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)