diff options
author | Philipp Reh <sefi@s-e-f-i.de> | 2009-02-20 18:28:18 +0100 |
---|---|---|
committer | Philipp Reh <sefi@s-e-f-i.de> | 2009-02-20 18:28:18 +0100 |
commit | 672c2282b8e8fa2d3b45af56c5c55202286b612f (patch) | |
tree | 65ed781fe9a42a7f618f7a6bc0bf5262623ea7ee | |
parent | c3493034d4751bfde51e16ed6c00a086faf7e08a (diff) |
Another fix for kana2romaji.
-rw-r--r-- | kana2romaji.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kana2romaji.cpp b/kana2romaji.cpp index dd31459..b02562f 100644 --- a/kana2romaji.cpp +++ b/kana2romaji.cpp @@ -376,7 +376,7 @@ void kana2romaji(const string& kana, string& rom) { pred == "pi" ) { - count = (pos + 1 < rom.size() && rom[pos + 1] == 'y') ? 3 : 2; + count = (pos + 1 < rom.size() && rom[pos + 1] == 'y' && pred[0] == 'j') ? 3 : 2; rom.erase(pos - 1, count); continue; } |