summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-22 14:08:53 +0000
committerrubidium <rubidium@openttd.org>2009-03-22 14:08:53 +0000
commit22d4270ea8664975384198353c40f4fc859dd5f1 (patch)
treee59ea09ec02e8a17b35afeb6f47aef941b0d17b2 /src/ai
parent663c73595f1c1ed44b23275410347c37abee4657 (diff)
downloadopenttd-22d4270ea8664975384198353c40f4fc859dd5f1.tar.xz
(svn r15811) -Fix: left != right and as a result of that the ai debug window was kinda empty.
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp
index 931335614..1aca40af8 100644
--- a/src/ai/ai_gui.cpp
+++ b/src/ai/ai_gui.cpp
@@ -683,7 +683,7 @@ struct AIDebugWindow : public Window {
default: colour = TC_BLACK; break;
}
- DrawString(this->widget[AID_WIDGET_LOG_PANEL].right + 7, this->widget[AID_WIDGET_LOG_PANEL].left - 7, this->widget[AID_WIDGET_LOG_PANEL].top + y, log->lines[pos], colour);
+ DrawString(this->widget[AID_WIDGET_LOG_PANEL].left + 7, this->widget[AID_WIDGET_LOG_PANEL].right - 7, this->widget[AID_WIDGET_LOG_PANEL].top + y, log->lines[pos], colour);
y += 12;
}
}