Cosmetic zeros.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
diff --git a/src/autofit/afglobal.c b/src/autofit/afglobal.c
index 577b94e..b805b3b 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 b8af228..5e81d77 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 8db9940..e5002bc 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;