summaryrefslogtreecommitdiff
blob: b74bc3dac10577585b3768609cfb19298e45ee2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Fix buiding with gcc 4.5

http://bugs.gentoo.org/show_bug.cgi?id=318411

--- src/njamedit.cpp
+++ src/njamedit.cpp
@@ -114,7 +114,7 @@
 				key = SDLK_a;
 			else if (CheckForSave())
 			{
-				LogFile::LogFile("Saving maps");
+				LogFile("Saving maps");
 				m_Maps.Save(filename);
 				level_type_was = level_type;
 				changed = false;
@@ -131,7 +131,7 @@
 					char types[2][5] = { "COOP", "DUEL" };
 					sprintf(buf, "levels/%s.%s\0", filename, types[level_type]);
 					sprintf(filename, "%s\0", buf);
-					LogFile::LogFile("Saving maps");
+					LogFile("Saving maps");
 					m_Maps.Save(filename);
 					level_type_was = level_type;
 					changed = false;