fixed gun info display issues in item::info()

Fixes #2816.