Reversed the display order of the lines

This commit is contained in:
2015-08-18 03:59:17 +10:00
parent 68eddcfcbb
commit 6bcaf460b9
+1 -1
View File
@@ -34,7 +34,7 @@ TextBox::~TextBox() {
void TextBox::DrawTo(SDL_Renderer* renderer, int posX, int posY, int pointSize) {
for (std::list<TextLine>::iterator it = lineList.begin(); it != lineList.end(); it++) {
it->DrawTo(renderer, posX, posY);
posY -= pointSize;
posY += pointSize;
}
}