summaryrefslogtreecommitdiff
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
commitc3954f2e387ad276db617c51283dcdea502cb614 (patch)
treeccc9ed0e9803b79d2366bcc843dc16af5fc0036d
parent6913ae5a5fc242f898e3bcb53f170ba644e0942e (diff)
downloadopenttd-c3954f2e387ad276db617c51283dcdea502cb614.tar.xz
(svn r14796) -Fix: if using variable, use it everywhere instead of hardcoding it's value sometimes (Alberth)
-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;
}
}