From: Philipp Reh Date: Tue, 24 Feb 2009 17:25:23 +0000 (+0100) Subject: Hopefully fixed replacement of ji. X-Git-Url: https://git.enpas.org/?p=jmdict-cli.git;a=commitdiff_plain;h=96518ac67ffdeb599a7fdf2d84fb50fd040b8554 Hopefully fixed replacement of ji. --- 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" ||