summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2018-03-02 13:30:00 +0900
committerAkira TAGOH <akira@tagoh.org>2018-03-02 13:30:00 +0900
commit8c96285d216e4fec2d83386dfd49030dfc947a4b (patch)
tree80b5340eb77befbb1183a9e9205dc8ae4a642b1d /src
parente300d863f564f0b7b52fd6fdc1987afb5c116730 (diff)
Initialize an array explicitly
Patch from Kurt Kartaltepe
Diffstat (limited to 'src')
-rw-r--r--src/fcfreetype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcfreetype.c b/src/fcfreetype.c
index 49fb39f2..36f5aed4 100644
--- a/src/fcfreetype.c
+++ b/src/fcfreetype.c
@@ -2261,7 +2261,7 @@ static int
FcFreeTypeSpacing (FT_Face face)
{
FT_Int load_flags = FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH | FT_LOAD_NO_SCALE | FT_LOAD_NO_HINTING;
- FT_Pos advances[3] = {};
+ FT_Pos advances[3] = {0};
unsigned int num_advances = 0;
int o;