summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-12-25 02:33:41 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-12-25 02:33:41 +0200
commit3fe377be4e860f4ec9664688489e4e22090fc29d (patch)
treedd05ac1a18f42db79f811f67ec06fb4dcb5b02a3 /src/main.cpp
parent699d0e9a5efa555f4b4c7652a0ca571acf0afdb2 (diff)
downloadminetest-3fe377be4e860f4ec9664688489e4e22090fc29d.tar.gz
minetest-3fe377be4e860f4ec9664688489e4e22090fc29d.tar.bz2
minetest-3fe377be4e860f4ec9664688489e4e22090fc29d.zip
builds on both platforms
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
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<to_be_removed_count; i++)
{
core::list<ChatLine>::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