2006/unicorn/src/org/w3c/unicorn/util Language.java,1.21,1.22

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/util
In directory hutz:/tmp/cvs-serv29724/src/org/w3c/unicorn/util

Modified Files:
	Language.java 
Log Message:
fixed function getLocaleDirection

Index: Language.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/util/Language.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- Language.java	22 Mar 2010 17:43:08 -0000	1.21
+++ Language.java	22 Mar 2010 17:59:52 -0000	1.22
@@ -205,9 +205,9 @@
 	}
 	
 	public static String getLocaleDirection(ULocale locale) {
-		if (locale.getLineOrientation().equals("left-to-right"))
+		if (locale.getCharacterOrientation().equals("left-to-right"))
 			return "ltr";
-		if (locale.getLineOrientation().equals("right-to-left"))
+		if (locale.getCharacterOrientation().equals("right-to-left"))
 			return "rtl";
 		return "ltr";
 	}

Received on Monday, 22 March 2010 17:59:55 UTC