From a81cf5aade126184e52ac6a2a9fd36b718b9038c Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Thu, 2 Sep 2021 22:10:57 -0400 Subject: [PATCH] Cosmetic zeros. --- src/autofit/afglobal.c | 2 +- src/autofit/aflatin.c | 2 +- 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;