diff --git a/scim-wnn/src/anthyconversion.cpp b/scim-wnn/src/anthyconversion.cpp index a4a9e7d..76cedb3 100644 --- a/scim-wnn/src/anthyconversion.cpp +++ b/scim-wnn/src/anthyconversion.cpp @@ -108,7 +108,11 @@ } bool AnthyConversion::resizeRegion(int w) { - return(false); + if ((convResult[pos].kouho[convResult[pos].pos].length() + w) < 1) return(false); + if ((pos >= (convResult.size() - 1)) && (w > 0)) return(false); + anthy_resize_segment(context,pos,w); + buildResult(); + return(true); } void AnthyConversion::updateFrequency() {