From 96518ac67ffdeb599a7fdf2d84fb50fd040b8554 Mon Sep 17 00:00:00 2001 From: Philipp Reh Date: Tue, 24 Feb 2009 18:25:23 +0100 Subject: [PATCH] Hopefully fixed replacement of ji. --- kana2romaji.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" || -- 2.30.2