twain_32: Use BOOL type where appropriate
Frédéric Delanoy
frederic.delanoy at gmail.com
Mon Nov 25 15:27:36 CST 2013
---
dlls/twain_32/dsm_ctrl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/twain_32/dsm_ctrl.c b/dlls/twain_32/dsm_ctrl.c
index db57d08..09e49c8 100644
--- a/dlls/twain_32/dsm_ctrl.c
+++ b/dlls/twain_32/dsm_ctrl.c
@@ -100,12 +100,12 @@ twain_add_onedriver(const char *dsname) {
FreeLibrary (hmod);
}
-static int detectionrun = 0;
+static BOOL detectionrun = FALSE;
static void
twain_autodetect(void) {
if (detectionrun) return;
- detectionrun = 1;
+ detectionrun = TRUE;
twain_add_onedriver("sane.ds");
twain_add_onedriver("gphoto2.ds");
--
1.8.4.4
More information about the wine-patches
mailing list