Marcus Meissner : ntdll: Converted bitmask into TRUE/FALSE.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Nov 20 05:51:41 CST 2006


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

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Sat Nov 18 11:09:36 2006 +0100

ntdll: Converted bitmask into TRUE/FALSE.

---

 dlls/ntdll/tape.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/tape.c b/dlls/ntdll/tape.c
index c8e3cd0..4ae1f92 100644
--- a/dlls/ntdll/tape.c
+++ b/dlls/ntdll/tape.c
@@ -232,7 +232,7 @@ static NTSTATUS TAPE_GetMediaParams( int
 #endif
     data->PartitionCount = 1;
 #ifdef HAVE_STRUCT_MTGET_MT_GSTAT
-    data->WriteProtected = GMT_WR_PROT(get.mt_gstat);
+    data->WriteProtected = (GMT_WR_PROT(get.mt_gstat) != 0);
 #else
     data->WriteProtected = 0;
 #endif




More information about the wine-cvs mailing list