=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: twain_32: Use BOOL type where appropriate.

Alexandre Julliard julliard at winehq.org
Tue Nov 26 15:51:43 CST 2013


Module: wine
Branch: master
Commit: 6a847bd9cd814eb0160bf3673e514937f1359775
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6a847bd9cd814eb0160bf3673e514937f1359775

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Mon Nov 25 22:27:36 2013 +0100

twain_32: Use BOOL type where appropriate.

---

 dlls/twain_32/dsm_ctrl.c |    4 ++--
 1 files 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");




More information about the wine-cvs mailing list