summaryrefslogtreecommitdiff
path: root/src/ui/ui_shared.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2002-08-01 13:46:00 +0000
committerTim Angus <tim@ngus.net>2002-08-01 13:46:00 +0000
commitf7a3390a45280fe24bb6a5f904beac6f62af493f (patch)
treed38530d26f5f4512fedaa29b1f1edd98a8787192 /src/ui/ui_shared.c
parentb3a2a3ae15e05520d0ba3a3a4e46da874b5a06cf (diff)
* Code support for joinserver menu
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 );