scrrun: Use BOOL type where appropriate
Frédéric Delanoy
frederic.delanoy at gmail.com
Wed Nov 20 16:39:32 CST 2013
---
dlls/scrrun/filesystem.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/scrrun/filesystem.c b/dlls/scrrun/filesystem.c
index ee89b76..0d360d3 100644
--- a/dlls/scrrun/filesystem.c
+++ b/dlls/scrrun/filesystem.c
@@ -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)
--
1.8.4.3
More information about the wine-patches
mailing list