summaryrefslogtreecommitdiff
path: root/src/autofit/afglobal.c
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/autofit/afglobal.c
parent37c72f66a56887ec25f4f541337b00e8ba69b9ee (diff)
downloadfreetype2-4441f7b24675fbd7d91f794f5d54e6c1ff168439.tar.gz
Replace `foo == NULL' and `foo != NULL' with `!foo' and `foo', resp.
Other minor formatting.
Diffstat (limited to 'src/autofit/afglobal.c')
-rw-r--r--src/autofit/afglobal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/autofit/afglobal.c b/src/autofit/afglobal.c
index db070e768..11ed0dff9 100644
--- a/src/autofit/afglobal.c
+++ b/src/autofit/afglobal.c
@@ -168,7 +168,7 @@
AF_Script_UniRange range;
- if ( script_class->script_uni_ranges == NULL )
+ if ( !script_class->script_uni_ranges )
continue;
/*
@@ -456,7 +456,7 @@
[style_class->writing_system];
metrics = globals->metrics[style];
- if ( metrics == NULL )
+ if ( !metrics )
{
/* create the global metrics object if necessary */
FT_Memory memory = globals->face->memory;