]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/mapEditor.cpp
Updated PNG icon files.
[quix0rs-blobwars.git] / src / mapEditor.cpp
index 2f3bc9823c8bc987a7c9c5a3b44e4bede52e50cf..bffe1c7554b9ce9622b567c0c068689ebcca0239 100644 (file)
@@ -1,5 +1,5 @@
 /*
-Copyright (C) 2004 Parallel Realities
+Copyright (C) 2004-2011 Parallel Realities
 
 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
@@ -268,7 +268,7 @@ void collectMapData()
                if (!strstr(string, " ENEMY \""))
                {
                        str = new String;
-                       strncpy(str->string, string, sizeof str->string);
+                       strlcpy(str->string, string, sizeof str->string);
                        stringTail->next = str;
                        stringTail = str;
                }