summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/attachments/20130404/3fc8ba24/attachment-0001.bin
blob: e68950b907ea257f0269db4414911916a2e12b45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/src/YUIException.h b/src/YUIException.h
index f0dcb21..91ee5a0 100644
--- a/src/YUIException.h
+++ b/src/YUIException.h
@@ -147,7 +147,7 @@ class YWidget;
 #define YUI_CHECK_NEW( PTR )				\
     do							\
     {							\
-	if ( ! (PTR) )					\
+	if ( (PTR == 0) )					\
 	{						\
 	    YUI_THROW( YUIOutOfMemoryException() );	\
 	}						\
@@ -162,7 +162,7 @@ class YWidget;
 #define YUI_CHECK_PTR( PTR )				\
     do							\
     {							\
-	if ( ! (PTR) )					\
+	if ( (PTR == 0) )					\
 	{						\
 	    YUI_THROW( YUINullPointerException() );	\
 	}						\