From 65ba8bdea7cbe493934ebd9624f3b9af70e40033 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 8 May 2009 10:05:07 +0000 Subject: 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 --- src/glyphs.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/glyphs.c') 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(".Glyphs", "r"); +#else + fp = fopen("Glyphs", "r"); +#endif if (!fp) { fprintf(stderr, "Failed opening glyphs file\n"); exit(255); -- cgit v1.2.3