diff -u -r dasher-2-12.bak/Src/DasherCore/Alphabet/AlphIO.cpp dasher-2-12/Src/DasherCore/Alphabet/AlphIO.cpp
--- dasher-2-12.bak/Src/DasherCore/Alphabet/AlphIO.cpp	2005-07-22 01:26:56.000000000 -0400
+++ dasher-2-12/Src/DasherCore/Alphabet/AlphIO.cpp	2005-07-22 03:31:26.000000000 -0400
@@ -390,13 +390,13 @@
 	
 	if (strcmp(name, "orientation")==0) {
 		while (*atts!=0) {
-			if (strcmp(*atts, "type")) {
+			if (strcmp(*atts, "type")==0) {
 				atts++;
-				if (strcmp(*atts, "RL")) {
-					Me->InputInfo.Orientation = Opts::LeftToRight;
-				} else if (strcmp(*atts, "TB")) {
+				if (strcmp(*atts, "RL")==0) {
+					Me->InputInfo.Orientation = Opts::RightToLeft;
+				} else if (strcmp(*atts, "TB")==0) {
 					Me->InputInfo.Orientation = Opts::TopToBottom;
-				} else if (strcmp(*atts, "BT")) {
+				} else if (strcmp(*atts, "BT")==0) {
 					Me->InputInfo.Orientation = Opts::BottomToTop;
 				} else
 					Me->InputInfo.Orientation = Opts::LeftToRight;
