Skip to content
Snippets Groups Projects
Commit 2dec5250 authored by Tony Lambregts's avatar Tony Lambregts Committed by Alexandre Julliard
Browse files

Fix up init_fp test for freopen.

parent 1282d7ad
No related branches found
No related tags found
No related merge requests found
......@@ -2316,7 +2316,7 @@ MSVCRT_FILE* MSVCRT_freopen(const char *path, const char *mode,MSVCRT_FILE* file
if (fd < 0)
return NULL;
if (msvcrt_init_fp(file, fd, stream_flags) != -1)
if (msvcrt_init_fp(file, fd, stream_flags) == -1)
{
file->_flag = 0;
WARN(":failed-last error (%ld)\n",GetLastError());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment