Changes to qemacs/arabic.c
Charlie Gordon <[email protected]> Wed, 11 May 2005 11:12:14 -0400
| Newsgroups | gmane.editors.qemacs.devel |
|---|---|
| Message-ID | <[email protected]> |
Index: qemacs/arabic.c
diff -u qemacs/arabic.c:1.2 qemacs/arabic.c:1.3
--- qemacs/arabic.c:1.2 Thu May 5 11:10:26 2005
+++ qemacs/arabic.c Wed May 11 15:12:14 2005
@@ -196,6 +196,7 @@
static int is_transparent(int ch)
{
int i;
+
for (i = 0; i < (int)(sizeof(transparent)/sizeof(transparent[0])); i++) {
if (transparent[i] == ch)
return 1;
@@ -206,6 +207,7 @@
static const ArabicChar *find_char(int ch)
{
const ArabicChar *c;
+
c = arabic_table;
while (c->ch != 0 && c->ch != ch)
c++;
@@ -219,7 +221,7 @@
const ArabicChar *aa, *bb, *cc;
a = 0;
- for(i=0;i<len;) {
+ for (i = 0; i < len;) {
j = i;
b = line[i++];
/* find the next non transparent char */