From 1fbb06c939545146fc35b9b0c3b03b5e1887acd6 Mon Sep 17 00:00:00 2001 From: nothere Date: Wed, 1 Oct 2003 20:57:28 +0000 Subject: [PATCH] =?utf8?q?=E8=8B=B1=E8=AA=9E=E7=89=88=E3=81=A7iskanji()?= =?utf8?q?=E3=81=8C=E4=BD=BF=E3=82=8F=E3=82=8C=E3=81=A6=E3=83=AA=E3=83=B3?= =?utf8?q?=E3=82=AF=E3=81=AB=E5=A4=B1=E6=95=97=E3=81=97=E3=81=AA=E3=81=84?= =?utf8?q?=E3=82=88=E3=81=86=E3=81=AB=E4=BF=AE=E6=AD=A3.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/autopick.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/autopick.c b/src/autopick.c index 943310a11..50491a81b 100644 --- a/src/autopick.c +++ b/src/autopick.c @@ -3135,7 +3135,11 @@ static byte get_string_for_search(object_type **o_handle, cptr *search_strp) trig_len = strlen(inkey_macro_trigger_string); /* HACK -- ignore macro defined on ASCII keys */ +#ifdef JP if (trig_len == 1 && !iskanji(inkey_macro_trigger_string[0])) +#else + if (trig_len == 1) +#endif { /* Get original key */ key = inkey_macro_trigger_string[0]; @@ -5485,7 +5489,11 @@ void do_cmd_edit_autopick(void) trig_len = strlen(inkey_macro_trigger_string); /* HACK -- ignore macro defined on ASCII keys */ +#ifdef JP if (trig_len == 1 && !iskanji(inkey_macro_trigger_string[0])) +#else + if (trig_len == 1) +#endif { /* Get original key */ key = inkey_macro_trigger_string[0]; -- 2.11.0