Module: wine Branch: master Commit: cfe12f96665233060eea9f914ed33b836eababea URL: http://source.winehq.org/git/wine.git/?a=commit;h=cfe12f96665233060eea9f914e...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Wed Nov 20 23:39:32 2013 +0100
scrrun: Use BOOL type where appropriate.
---
dlls/scrrun/filesystem.c | 4 ++-- 1 files 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)