]> granicus.if.org Git - nethack/commit
redundant feedback for `I u'
authornethack.rankin <nethack.rankin>
Thu, 7 Apr 2005 03:32:48 +0000 (03:32 +0000)
committernethack.rankin <nethack.rankin>
Thu, 7 Apr 2005 03:32:48 +0000 (03:32 +0000)
commitea94234fbc4602b7da8d9b286cb04a4a027429ff
tree49d413afe555e95343eab906f37d4594bb6d311d
parentc7099cd772a7b326308b2693204e742f3d4432c8
redundant feedback for `I u'

     When 3.4.0 added the shop price to inventory display of unpaid items,
it resulted in showing that price twice if you used the `I u' command while
carrying just one unpaid object.

k - a potion of object detection (unpaid, 150 zorkmids)    150 zorkmids

With two or more unpaid objects it uses a menu style display and explicitly
suppresses "(unpaid, N zorkmids)" from the inventory formatting.  Do the
same suppression when there's one item.

k - a potion of object detection                     150 zorkmids
doc/fixes34.4
src/invent.c