From 89acd0fa357a10f2351de33c08624eecb1284ae0 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 14 Jan 2016 17:04:08 -0500 Subject: [PATCH] v0.3.4: fixed a text display issue in buff info windows --- .../shatteredpixeldungeon/windows/WndInfoBuff.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndInfoBuff.java b/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndInfoBuff.java index 6d7f207bc..4feb595d4 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndInfoBuff.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndInfoBuff.java @@ -57,7 +57,7 @@ public class WndInfoBuff extends Window { add( titlebar ); RenderedTextMultiline txtInfo = PixelScene.renderMultiline(buff.desc(), 6); - txtInfo.maxWidth(width); + txtInfo.maxWidth(WIDTH); txtInfo.setPos(titlebar.left(), titlebar.bottom() + GAP); add( txtInfo );