ref: 83e00ddf66299136609660b87fa2f2fc44ed1c62
parent: b5dc9f2fdd63566449bab48d52154ba10c102856
author: Ali Gholami Rudi <ali@rudi.ir>
date: Mon Aug 4 16:17:56 EDT 2014
trfn: fix trfn_name() for afm files Reported by Dirk-Wilhelm Peters <peters@schwertfisch.de>.
--- a/trfn.c
+++ b/trfn.c
@@ -240,7 +240,7 @@
}
}
ashape(dst, src);
- return src && strcmp(src, ".medi") && strcmp(src, ".fina") &&
+ return *src && strcmp(src, ".medi") && strcmp(src, ".fina") &&
strcmp(src, ".init") && strcmp(src, ".isol");
}