summaryrefslogtreecommitdiff
path: root/lily/afm.cc
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2005-04-12 22:49:29 +0000
committerJan Nieuwenhuizen <janneke@gnu.org>2005-04-12 22:49:29 +0000
commit57be7394ffa2e7d7ba6d60548dba563f3409d472 (patch)
tree65995b929422473c8db9f6add011d854cb017fef /lily/afm.cc
parenta111927561fea3a5364a48ec2c41fa2c35323295 (diff)
*** empty log message ***
Diffstat (limited to 'lily/afm.cc')
-rw-r--r--lily/afm.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/lily/afm.cc b/lily/afm.cc
index f601e22e13..348cfbeadd 100644
--- a/lily/afm.cc
+++ b/lily/afm.cc
@@ -136,13 +136,10 @@ read_afm_file (String nm)
rewind (f);
AFM_Font_info *fi;
- int ok = AFM_parseFile (f, &fi, ~0);
+ int e = AFM_parseFile (f, &fi, ~0);
- if (ok)
- {
- error (_f ("Error parsing AFM file: `%s'", nm.to_str0 ()));
- exit (2);
- }
+ if (e)
+ error (_f ("parsing AFM file: `%s'", nm.to_str0 ()));
fclose (f);
return Adobe_font_metric::make_afm (fi, cs, ds);