Commit cfe12f96 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

scrrun: Use BOOL type where appropriate.

parent bb9d1986
......@@ -89,12 +89,12 @@ static inline HRESULT create_error(DWORD err)
}
}
static int textstream_check_iomode(struct textstream *This, enum iotype type)
static BOOL textstream_check_iomode(struct textstream *This, enum iotype type)
{
if (type == IORead)
return This->mode == ForWriting || This->mode == ForAppending;
else
return 1;
return TRUE;
}
static HRESULT WINAPI textstream_QueryInterface(ITextStream *iface, REFIID riid, void **obj)
......
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