From 6bcaf460b95d3da258545140b8c82fc508cb658b Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Tue, 18 Aug 2015 03:59:17 +1000 Subject: [PATCH] Reversed the display order of the lines --- graphics/text_box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/text_box.cpp b/graphics/text_box.cpp index 4fdefa4..98275aa 100644 --- a/graphics/text_box.cpp +++ b/graphics/text_box.cpp @@ -34,7 +34,7 @@ TextBox::~TextBox() { void TextBox::DrawTo(SDL_Renderer* renderer, int posX, int posY, int pointSize) { for (std::list::iterator it = lineList.begin(); it != lineList.end(); it++) { it->DrawTo(renderer, posX, posY); - posY -= pointSize; + posY += pointSize; } }