diff options
author | Jan Nieuwenhuizen <janneke@gnu.org> | 2005-04-12 22:49:29 +0000 |
---|---|---|
committer | Jan Nieuwenhuizen <janneke@gnu.org> | 2005-04-12 22:49:29 +0000 |
commit | 57be7394ffa2e7d7ba6d60548dba563f3409d472 (patch) | |
tree | 65995b929422473c8db9f6add011d854cb017fef /lily/afm.cc | |
parent | a111927561fea3a5364a48ec2c41fa2c35323295 (diff) |
*** empty log message ***
Diffstat (limited to 'lily/afm.cc')
-rw-r--r-- | lily/afm.cc | 9 |
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); |