From: nothere Date: Tue, 21 Oct 2003 14:08:23 +0000 (+0000) Subject: 自動拾いエディタの検索モード時に, 日本語の文字列に対してカーソルを左 X-Git-Tag: v2.1.2~979 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=c7ea8339c8ea991f9fd4b7dd687dbd9573f0b9d0;p=hengband%2Fhengband.git 自動拾いエディタの検索モード時に, 日本語の文字列に対してカーソルを左 移動させると1byteだけカーソルが移動して, 漢字の右バイトだけ壊すような 操作ができるバグを修正. --- diff --git a/src/autopick.c b/src/autopick.c index abbf2cead..4271fb882 100644 --- a/src/autopick.c +++ b/src/autopick.c @@ -3177,7 +3177,7 @@ static byte get_string_for_search(object_type **o_handle, cptr *search_strp) int next_pos = i + 1; #ifdef JP - if (iskanji(buf[next_pos])) next_pos++; + if (iskanji(buf[i])) next_pos++; #endif /* Is there the cursor at next position? */