summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2009-03-31 22:55:38 +0000
committerglx <glx@openttd.org>2009-03-31 22:55:38 +0000
commite4a90f9688de9942ee98fb37254168ca06deff14 (patch)
tree863dc8552d66dab6eb10cc79611a04c842ab7ce9
parent64fe9fb7c25c7a751fc2b70f23e4468c1b2d5f62 (diff)
downloadopenttd-e4a90f9688de9942ee98fb37254168ca06deff14.tar.xz
(svn r15907) -Fix (r15841): some strings in save/load dialog were drawn with a 2 pixel offset
-rw-r--r--src/misc_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index b46f7e76e..4c3c0ea90 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -1588,7 +1588,7 @@ public:
for (uint pos = this->vscroll.pos; pos < _fios_items.Length(); pos++) {
const FiosItem *item = _fios_items.Get(pos);
- DrawString(widg->left + 4, widg->right - 2, y, item->title, _fios_colours[item->type]);
+ DrawString(widg->left + 2, widg->right - 2, y, item->title, _fios_colours[item->type]);
y += 10;
if (y >= this->vscroll.cap * 10 + widg->top + 1) break;
}