Skip to content

Commit ac7675d

Browse files
Fix libFontforge usage (FONTFORGE_VERSION is now string, not long)
1 parent df4c132 commit ac7675d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/ffw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void ffw_finalize(void)
111111

112112
long ffw_get_version(void)
113113
{
114-
return FONTFORGE_VERSION;
114+
return strtol(FONTFORGE_VERSION, NULL, 10);
115115
}
116116

117117
void ffw_new_font()

0 commit comments

Comments
 (0)