projects
/
jmdict-cli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Hopefully fixed replacement of ji.
[jmdict-cli.git]
/
kana2romaji.cpp
diff --git
a/kana2romaji.cpp
b/kana2romaji.cpp
index a51b7ec2ff85a2d788bd7cdff0d3f24e05bfa82d..99a46d6b9404803f011a50bc3ef270f722e08b8c 100644
(file)
--- 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" ||