ref: 01ab075930d390e24321c78cac95930d0a618dd5
parent: 870014d4cd0790eb73ecf048790c99803bb4c30d
author: Ali Gholami Rudi <[email protected]>
date: Fri Jul 4 13:40:18 EDT 2014
hyph: read the correct file for the second argument of .hpf
--- a/hyph.c
+++ b/hyph.c
@@ -251,7 +251,7 @@
}
/* reading exceptions */
if (args[2]) {
- filp = fopen(args[1], "r");
+ filp = fopen(args[2], "r");
while (fscanf(filp, "%s", tok) == 1)
if (strlen(tok) < WORDLEN)
hw_add(tok);