From be643386c5387cee88308e365f174e285c867335 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sat, 2 May 2015 18:04:20 -0400 Subject: [PATCH] permanent wiz_identify correction wiz_identify (^I) is supposed to bring up the inventory list with the items identified, in contrast to the regular (I) inventory, but only for that inventory display. It is intended that if you then hit ^I again while at that wiz_identify inventory menu, you'll trigger permanent identification of itemsand any other key is supposed to leave them as they were. In tty however, was doing the same thing as the second ^I, and permanently identifying everything. So, for those that like to through menus (like me) this makes it work as originally intended and requires a deliberate second ^I at the menu to permanently identify. (It might also allow trigger permanent ID if you hit underscore, but nobody "underscores" through menus, so that's ok.) --- src/invent.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/invent.c b/src/invent.c index 1a2a3b2dd..3d9ac0843 100644 --- a/src/invent.c +++ b/src/invent.c @@ -1912,9 +1912,8 @@ long* out_cnt; any.a_char = -1; /* wiz_identify stuffed the wiz_identify cmd character into iflags.override_ID */ - Sprintf(prompt, "Debug Identify (%s to permanently identify)", - visctrl(iflags.override_ID)); - add_menu(win, NO_GLYPH, &any,' ', iflags.override_ID, ATR_NONE, + Sprintf(prompt, "Debug Identify (%s to permanently identify)",visctrl(iflags.override_ID)); + add_menu(win, NO_GLYPH, &any,'.', iflags.override_ID, ATR_NONE, prompt, MENU_UNSELECTED); } nextclass: