summaryrefslogtreecommitdiff
path: root/src/autofit
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2021-09-02 22:10:57 -0400
committerAlexei Podtelezhnikov <apodtele@gmail.com>2021-09-02 22:10:57 -0400
commita81cf5aade126184e52ac6a2a9fd36b718b9038c (patch)
tree8bb3a65c853e39d725e5d01261cbc6160943ff75 /src/autofit
parent7482c98f1533d1b685113a060f4588f703a81b79 (diff)
downloadfreetype2-a81cf5aade126184e52ac6a2a9fd36b718b9038c.tar.gz
Cosmetic zeros.
Diffstat (limited to 'src/autofit')
-rw-r--r--src/autofit/afglobal.c2
-rw-r--r--src/autofit/aflatin.c2
2 files changed, 2 insertions, 2 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;
}
}