summaryrefslogtreecommitdiff
path: root/src/cache/ftccache.h
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2016-12-26 17:08:17 +0100
committerWerner Lemberg <wl@gnu.org>2016-12-26 17:08:17 +0100
commit4441f7b24675fbd7d91f794f5d54e6c1ff168439 (patch)
tree6272c1a7a82fef6c8b57b5131edd65bbde5cf420 /src/cache/ftccache.h
parent37c72f66a56887ec25f4f541337b00e8ba69b9ee (diff)
downloadfreetype2-4441f7b24675fbd7d91f794f5d54e6c1ff168439.tar.gz
Replace `foo == NULL' and `foo != NULL' with `!foo' and `foo', resp.
Other minor formatting.
Diffstat (limited to 'src/cache/ftccache.h')
-rw-r--r--src/cache/ftccache.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cache/ftccache.h b/src/cache/ftccache.h
index 1b1295951..ab4ea5124 100644
--- a/src/cache/ftccache.h
+++ b/src/cache/ftccache.h
@@ -227,7 +227,7 @@ FT_BEGIN_HEADER
for (;;) \
{ \
_node = *_pnode; \
- if ( _node == NULL ) \
+ if ( !_node ) \
goto NewNode_; \
\
if ( _node->hash == _hash && \
@@ -245,7 +245,7 @@ FT_BEGIN_HEADER
/* Update _pnode by possibly modified linked list */ \
while ( *_pnode != _node ) \
{ \
- if ( *_pnode == NULL ) \
+ if ( !*_pnode ) \
{ \
FT_ERROR(( "FTC_CACHE_LOOKUP_CMP: oops!!! node missing\n" )); \
goto NewNode_; \
@@ -325,7 +325,7 @@ FT_BEGIN_HEADER
break; \
\
_try_done = FTC_Manager_FlushN( _try_manager, _try_count ); \
- if ( _try_done > 0 && ( list_changed != NULL ) ) \
+ if ( _try_done > 0 && list_changed != NULL ) \
*(FT_Bool*)( list_changed ) = TRUE; \
\
if ( _try_done == 0 ) \