]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/layout/DeviceTables.cpp
ICU-6.2.10.tar.gz
[apple/icu.git] / icuSources / layout / DeviceTables.cpp
index 34a08688da03e7f89449905b52d308628a72277d..1882ede5a7e502ee5525a65c6a04dd16a66e5aa9 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * @(#)DeviceTables.cpp 1.5 00/03/15
  *
 /*
  * @(#)DeviceTables.cpp 1.5 00/03/15
  *
- * (C) Copyright IBM Corp. 1998, 1999, 2000, 2001 - All Rights Reserved
+ * (C) Copyright IBM Corp. 1998 - 2004 - All Rights Reserved
  *
  */
 
  *
  */
 
@@ -36,7 +36,7 @@ le_int16 DeviceTable::getAdjustment(le_uint16 ppem) const
         result = field;
 
         if ((field & fieldSignBits[format]) != 0) {
         result = field;
 
         if ((field & fieldSignBits[format]) != 0) {
-            result |= ! fieldMasks[format];
+            result |= ~ fieldMasks[format];
         }
     }
 
         }
     }