diff --git a/honoka/src/wnnconversion.cpp b/honoka/src/wnnconversion.cpp index 26c3060..16827d7 100644 --- a/honoka/src/wnnconversion.cpp +++ b/honoka/src/wnnconversion.cpp @@ -321,10 +321,11 @@ */ int WnnConversion::setPos(int p) { - if (p >= bunsetu) p = (p % bunsetu); - else if (p < 0) p = bunsetu - (abs(p) % bunsetu); + /*if (p >= bunsetu) p = (p % bunsetu); + else if (p < 0) p = bunsetu - (abs(p) % bunsetu);*/ + if ((p < bunsetu) && (p >= 0)) pos = p; - pos = p; + //pos = p; createText(); return pos; }