Small BiDi amendment

Shachar Shemesh wine-patches at sun.consumer.org.il
Mon Nov 25 12:21:35 CST 2002


I was a bit overanxious to define the Windows types as strong LTR.

ChangeLog:
Shachar Shemesh <winecode at sun.consumer.org.il>

objects/font.c

    * Change some of the number seperators to "Neutral" rather than
      "Left to right".


-------------- next part --------------
Index: objects/font.c
===================================================================
RCS file: /home/sun/sources/cvs/wine/objects/font.c,v
retrieving revision 1.92
diff -u -r1.92 font.c
--- objects/font.c	22 Nov 2002 22:16:53 -0000	1.92
+++ objects/font.c	25 Nov 2002 18:18:01 -0000
@@ -1988,7 +1988,7 @@
 		 * -1 - right to left
 		 * 0 - neutral
 		 */
-		static const int chardir[]={ 0, 1, -1, 1, 1, 1, -1, 1, 0, 0, 0, 0 };
+		static const int chardir[]={ 0, 1, -1, 1, 0, 0, -1, 0, 0, 0, 0, 0 };
 
 		WARN("The BiDi algorythm doesn't conform to Windows' yet\n");
 		if( (pwCharType=HeapAlloc(GetProcessHeap(), 0, uCount * sizeof(WORD)))==NULL )


More information about the wine-patches mailing list