summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-05-11 00:03:35 (GMT)
committer John Mark Bell <jmb@netsurf-browser.org>2009-05-11 00:03:35 (GMT)
commitc7b3c2c600ec1b71f78422b4b4de4d204dbe1910 (patch)
tree3e28f8fd6dcc111609bfd9a521ce4abe312d18ee
parente90acbb3dd052ae075bac3e3aa8c9a7ecbf889d1 (diff)
downloadttf2f-c7b3c2c600ec1b71f78422b4b4de4d204dbe1910.tar.gz
ttf2f-c7b3c2c600ec1b71f78422b4b4de4d204dbe1910.tar.bz2
Use enum, rather than magic value
svn path=/trunk/tools/ttf2f/; revision=7461
-rw-r--r--src/cli.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cli.c b/src/cli.c
index d1b167f..631077f 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -97,7 +97,8 @@ int main(int argc, char **argv)
if ((err = outlines_write(argv[2], argv[2], &ctx, progress)) !=
TTF2F_RESULT_OK) goto error_out;
- if ((err = encoding_write(argv[2], argv[2], &ctx, 0, progress)) !=
+ if ((err = encoding_write(argv[2], argv[2], &ctx,
+ ENCODING_TYPE_NORMAL, progress)) !=
TTF2F_RESULT_OK) goto error_out;
error_out: