ref: 2f724cae95c31014be9f9b719d952bcb7589ab09
parent: e2f5aa2fc87f3405b9815978ef886a4249373fc2
author: Ali Gholami Rudi <ali@rudi.ir>
date: Sat Dec 14 13:46:26 EST 2013
trfn: handle .isol for isolated arabic characters
--- a/trfn.c
+++ b/trfn.c
@@ -221,8 +221,8 @@
if (!strcmp(c, subs_src[i]))
subs = 1;
dot = strrchr(c, '.');
- if (!subs && (!dot || !strcmp(".init", dot) || !strcmp(".fina", dot) ||
- !strcmp(".medi", dot)))
+ if (!subs && (!dot || !strcmp(".isol", dot) || !strcmp(".init", dot) ||
+ !strcmp(".fina", dot) || !strcmp(".medi", dot)))
*a++ = c;
/* adding aliases added via trfn_subs() */
for (i = 0; i < subs_n; i++)