diff options
author | Alexei Podtelezhnikov <apodtele@gmail.com> | 2021-09-02 22:10:57 -0400 |
---|---|---|
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | 2021-09-02 22:10:57 -0400 |
commit | a81cf5aade126184e52ac6a2a9fd36b718b9038c (patch) | |
tree | 8bb3a65c853e39d725e5d01261cbc6160943ff75 | |
parent | 7482c98f1533d1b685113a060f4588f703a81b79 (diff) | |
download | freetype2-a81cf5aade126184e52ac6a2a9fd36b718b9038c.tar.gz |
Cosmetic zeros.
-rw-r--r-- | src/autofit/afglobal.c | 2 | ||||
-rw-r--r-- | src/autofit/aflatin.c | 2 | ||||
-rw-r--r-- | src/bdf/bdflib.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/autofit/afglobal.c b/src/autofit/afglobal.c index 577b94e47..b805b3b0e 100644 --- a/src/autofit/afglobal.c +++ b/src/autofit/afglobal.c @@ -477,7 +477,7 @@ /* IMPORTANT: Clear the error code, see * https://gitlab.freedesktop.org/freetype/freetype/-/issues/1063 */ - error = 0; + error = FT_Err_Ok; goto Again; } diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c index b8af228a4..5e81d771a 100644 --- a/src/autofit/aflatin.c +++ b/src/autofit/aflatin.c @@ -2109,7 +2109,7 @@ { if ( seg2->link != seg1 ) { - seg1->link = 0; + seg1->link = NULL; seg1->serif = seg2->link; } } diff --git a/src/bdf/bdflib.c b/src/bdf/bdflib.c index 8db9940f1..e5002bc25 100644 --- a/src/bdf/bdflib.c +++ b/src/bdf/bdflib.c @@ -1924,7 +1924,7 @@ p->font = font; font->memory = p->memory; - p->memory = 0; + p->memory = NULL; { /* setup */ size_t i; |