Hopefully fixed replacement of ji.
authorPhilipp Reh <sefi@s-e-f-i.de>
Tue, 24 Feb 2009 17:25:23 +0000 (18:25 +0100)
committerPhilipp Reh <sefi@s-e-f-i.de>
Tue, 24 Feb 2009 17:25:23 +0000 (18:25 +0100)
kana2romaji.cpp

index a51b7ec2ff85a2d788bd7cdff0d3f24e05bfa82d..99a46d6b9404803f011a50bc3ef270f722e08b8c 100644 (file)
@@ -376,9 +376,10 @@ void kana2romaji(const string& kana, string& rom) {
                ) {
                  remove_quote_1(pos, rom);
                  pos -= 2;
+                 continue;
                }
             }
-            else if (pos > 1) {
+            if (pos > 1) {
              
                string const pred = rom.substr(pos - 2, 2);
                if(pred == "ki" ||