From 3fe377be4e860f4ec9664688489e4e22090fc29d Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 25 Dec 2010 02:33:41 +0200 Subject: builds on both platforms --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 47dcbf70f..d50491a4b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2363,8 +2363,8 @@ int main(int argc, char *argv[]) for(u16 i=0; i::Iterator - i = chat_lines.begin(); - chat_lines.erase(i); + it = chat_lines.begin(); + chat_lines.erase(it); } chat_guitext->setText(whole.c_str()); // Update gui element size and position -- cgit v1.2.3