(svn r15811) -Fix: left != right and as a result of that the ai debug window was kinda empty.

This commit is contained in:
rubidium 2009-03-22 14:08:53 +00:00
parent 663c73595f
commit 22d4270ea8
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}