summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Reh <sefi@s-e-f-i.de>2009-02-24 18:25:23 +0100
committerPhilipp Reh <sefi@s-e-f-i.de>2009-02-24 18:25:23 +0100
commit96518ac67ffdeb599a7fdf2d84fb50fd040b8554 (patch)
treea8e11f6c235a119a130e394150912a31983c5aae
parented9639977caa958ffd6008dfe14fa3b1795368ce (diff)
Hopefully fixed replacement of ji.
-rw-r--r--kana2romaji.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kana2romaji.cpp b/kana2romaji.cpp
index a51b7ec..99a46d6 100644
--- a/kana2romaji.cpp
+++ b/kana2romaji.cpp
@@ -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" ||