diff options
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20130404/3fc8ba24/attachment.bin')
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20130404/3fc8ba24/attachment.bin | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20130404/3fc8ba24/attachment.bin b/zarb-ml/mageia-dev/attachments/20130404/3fc8ba24/attachment.bin new file mode 100644 index 000000000..e68950b90 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20130404/3fc8ba24/attachment.bin @@ -0,0 +1,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() ); \ + } \ |