[sword-cvs] swordtools/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/Translate Translate.java, 1.2, 1.3

sword at www.crosswire.org sword at www.crosswire.org
Thu Jun 24 07:14:27 MST 2004


Committed by: mgruner

Update of /cvs/core/swordtools/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/Translate
In directory www:/tmp/cvs-serv31111/WLC2OSIS/Translate

Modified Files:
	Translate.java 
Log Message:
mgruner: added fix from Christopher Kimball.


Index: Translate.java
===================================================================
RCS file: /cvs/core/swordtools/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/Translate/Translate.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Translate.java	10 Jun 2004 12:00:20 -0000	1.2
+++ Translate.java	24 Jun 2004 14:14:25 -0000	1.3
@@ -112,9 +112,16 @@
                     k++ ;
                     c1 = W.charAt(k) ;
                     M = (MCO) (MC.getMCO(c1)).clone() ;
-                    if( M.Type == MCO.Consonant | M.Type == MCO.ConsonantMark ){
- //                     System.out.println("Swapping prepositive mark and consonant.") ;
+                    if( M.Type == MCO.Consonant){
+//                      System.out.println("Swapping prepositive mark and consonant.") ;
                         MCOs.add(M) ;
+                        MCOs.add(Found) ;
+                        } 
+// *** Special section for MCO.ConsonantMark added 17 June 2004 ***
+                    else if( M.Type == MCO.ConsonantMark ){
+//                      System.out.println("Swapping prepositive mark and consonant-mark.") ;
+                        MCOs.add(M) ;
+                        MCOs.add(M.Object) ;
                         MCOs.add(Found) ;
                         } 
                     else{



More information about the sword-cvs mailing list