summaryrefslogtreecommitdiff
path: root/src/ui/ui_shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui_shared.c')
-rw-r--r--src/ui/ui_shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/ui_shared.c b/src/ui/ui_shared.c
index c6a8253a..7a6da0c1 100644
--- a/src/ui/ui_shared.c
+++ b/src/ui/ui_shared.c
@@ -3755,7 +3755,7 @@ void Item_ListBox_Paint(itemDef_t *item) {
DC->drawHandlePic(x + 4 + listPtr->columnInfo[j].pos, y - 1 + listPtr->elementHeight / 2, listPtr->columnInfo[j].width, listPtr->columnInfo[j].width, optionalImage);
} else if (text) {
//TA:
- int alignOffset, tw;
+ int alignOffset = 0.0f, tw;
tw = DC->textWidth( text, item->textscale, 0 );