[WIN32K] assert -> ASSERT
authorGregor Schneider <grschneider@gmail.com>
Sun, 6 Jun 2010 18:32:57 +0000 (18:32 +0000)
committerGregor Schneider <grschneider@gmail.com>
Sun, 6 Jun 2010 18:32:57 +0000 (18:32 +0000)
svn path=/trunk/; revision=47631

reactos/subsystems/win32/win32k/misc/driver.c
reactos/subsystems/win32/win32k/ntuser/message.c
reactos/subsystems/win32/win32k/objects/device.c

index 1219f94..f427e3f 100644 (file)
@@ -597,7 +597,7 @@ INT DRIVER_ReferenceDriver (LPCWSTR  Name)
     Driver = Driver->Next;
   }
   DPRINT( "Driver %S not found to reference, generic count: %d\n", Name, GenericDriver->ReferenceCount );
-  assert( GenericDriver != 0 );
+  ASSERT( GenericDriver != 0 );
   return ++GenericDriver->ReferenceCount;
 }
 
@@ -615,7 +615,7 @@ INT DRIVER_UnreferenceDriver (LPCWSTR  Name)
     Driver = Driver->Next;
   }
   DPRINT( "Driver '%S' not found to dereference, generic count: %d\n", Name, GenericDriver->ReferenceCount );
-  assert( GenericDriver != 0 );
+  ASSERT( GenericDriver != 0 );
   return --GenericDriver->ReferenceCount;
 }
 /* EOF */
index b6d8ab7..e78ce5a 100644 (file)
@@ -145,7 +145,7 @@ MsgMemorySize(PMSGMEMORY MsgMemoryEntry, WPARAM wParam, LPARAM lParam)
                break;
 
             default:
-               assert(FALSE);
+               ASSERT(FALSE);
                Size = 0;
                break;
          }
index b8d322f..9ebe3a5 100644 (file)
@@ -1745,7 +1745,7 @@ IntEnumDisplaySettings(
         }
         while (iModeNum-- > 0 && CachedMode < CachedDevModesEnd)
         {
-            assert(CachedMode->dmSize > 0);
+            ASSERT(CachedMode->dmSize > 0);
             CachedMode = (DEVMODEW *)((PCHAR)CachedMode + CachedMode->dmSize + CachedMode->dmDriverExtra);
         }
         if (CachedMode >= CachedDevModesEnd)