From 22d4270ea8664975384198353c40f4fc859dd5f1 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 22 Mar 2009 14:08:53 +0000 Subject: (svn r15811) -Fix: left != right and as a result of that the ai debug window was kinda empty. --- src/ai/ai_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- cgit v1.2.3-70-g09d2