# Inventory screen letters overdrawn

**URL:** <https://discourse.cataclysmdda.org/t/inventory-screen-letters-overdrawn/5236>\
**Category:** The Garage\
**Created:** [February 28, 2014, 7:09am UTC](https://discourse.cataclysmdda.org/t/inventory-screen-letters-overdrawn/5236 "2014-02-28T07:09:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bugsniper](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@bugsniper](https://discourse.cataclysmdda.org/u/bugsniper)\
**Post date:** [February 28, 2014, 7:09am UTC](https://discourse.cataclysmdda.org/t/inventory-screen-letters-overdrawn/5236/1 "2014-02-28T07:09:36Z")

</div>

The cough drops of inventory letter q have a very long name.  
[http://puu.sh/7dks1.png](http://puu.sh/7dks1.png)

And when scrolling back up, they overwrite part of the weapon. In this manner, the inventory letter of the weapon is sometimes also overwritten, leading to temporarily lost information.  
[http://puu.sh/7dksS.png](http://puu.sh/7dksS.png)

This is in release candidate 0.9-4834.

---

<div class="post-metadata">

**Author:** ![Zireael](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zireael/32/956_2.png) [@Zireael](https://discourse.cataclysmdda.org/u/Zireael)\
**Post date:** [February 28, 2014, 7:38am UTC](https://discourse.cataclysmdda.org/t/inventory-screen-letters-overdrawn/5236/2 "2014-02-28T07:38:48Z")

</div>

I guess this is the non-drowsy syrup…

---

<div class="post-metadata">

**Author:** ![bugsniper](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@bugsniper](https://discourse.cataclysmdda.org/u/bugsniper)\
**Post date:** [February 28, 2014, 8:36am UTC](https://discourse.cataclysmdda.org/t/inventory-screen-letters-overdrawn/5236/3 "2014-02-28T08:36:20Z")

</div>

Yes, it is that.

---

<div class="post-metadata">

**Author:** ![Soyweiser](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/soyweiser/32/37_2.png) [@Soyweiser](https://discourse.cataclysmdda.org/u/Soyweiser)\
**Post date:** [February 28, 2014, 5:48pm UTC](https://discourse.cataclysmdda.org/t/inventory-screen-letters-overdrawn/5236/4 "2014-02-28T17:48:03Z")

</div>

[https://github.com/CleverRaven/Cataclysm-DDA/issues/6358](https://github.com/CleverRaven/Cataclysm-DDA/issues/6358) Made an issue. Probably easy enough to fix by drawing the weapon/equip data later. So it always gets placed over the long name.

But a wrapping line might be a lot more elegant.

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [March 1, 2014, 5:24am UTC](https://discourse.cataclysmdda.org/t/inventory-screen-letters-overdrawn/5236/5 "2014-03-01T05:24:48Z")

</div>

Addressed by truncating the string. That whole window really needs to be refactored \>\_\<
