diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-05-08 10:05:07 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-05-08 10:05:07 +0000 |
commit | 65ba8bdea7cbe493934ebd9624f3b9af70e40033 (patch) | |
tree | 85c031ac0470418216a6c5001b4d808eb69feb0c /src/glyphs.c | |
parent | 4aed351e3376d70cedf1dfbcf4f396cc904e2703 (diff) | |
download | ttf2f-65ba8bdea7cbe493934ebd9624f3b9af70e40033.tar.gz ttf2f-65ba8bdea7cbe493934ebd9624f3b9af70e40033.tar.bz2 |
Slightly more useful behaviour on non-RO platforms.
Fix segv in cli frontend.
Make cli frontend create output directory.
svn path=/trunk/tools/ttf2f/; revision=7437
Diffstat (limited to 'src/glyphs.c')
-rw-r--r-- | src/glyphs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glyphs.c b/src/glyphs.c index 71a8775..f24cbd6 100644 --- a/src/glyphs.c +++ b/src/glyphs.c @@ -19,7 +19,11 @@ void load_glyph_list(void) char *semi, *name; struct glyph_entry *g, *cur; +#ifdef __riscos__ fp = fopen("<TTF2f$Dir>.Glyphs", "r"); +#else + fp = fopen("Glyphs", "r"); +#endif if (!fp) { fprintf(stderr, "Failed opening glyphs file\n"); exit(255); |