summaryrefslogtreecommitdiff
path: root/src/settings_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-03 10:56:38 +0000
committerrubidium <rubidium@openttd.org>2009-01-03 10:56:38 +0000
commita8f73dbb84fdefa56e9001b95de79c53d52457e2 (patch)
treeccc9ed0e9803b79d2366bcc843dc16af5fc0036d /src/settings_gui.cpp
parent183990de30685e48c7f7d4f2177c6a0832371e97 (diff)
downloadopenttd-a8f73dbb84fdefa56e9001b95de79c53d52457e2.tar.xz
(svn r14796) -Fix: if using variable, use it everywhere instead of hardcoding it's value sometimes (Alberth)
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r--src/settings_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index bf80685a2..68e2b3429 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -849,7 +849,7 @@ struct PatchesSelectionWindow : Window {
SetDParam(1, value);
}
}
- DrawString(30, y, (sdb->str) + disabled, TC_FROMSTRING);
+ DrawString(x + 25, y, (sdb->str) + disabled, TC_FROMSTRING);
y += SETTING_HEIGHT;
}
}