]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/CPersistant.cpp
Added .gitignore to ignore certain files + fixed access rights on Makefile* as
[quix0rs-blobwars.git] / src / CPersistant.cpp
index 82f03d677ea62e683491fe3b28d235c1099b9272..b5cf99427865b8a9a83fdb091bdc6670bbc9b45b 100644 (file)
@@ -1,5 +1,6 @@
 /*
-Copyright (C) 2004 Parallel Realities
+Copyright (C) 2004-2011 Parallel Realities
+Copyright (C) 2011-2015 Perpendicular Dimensions
 
 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
@@ -34,7 +35,7 @@ Persistant::~Persistant()
 
 void Persistant::setName(const char *name)
 {
-       strncpy(this->stageName, name, sizeof this->stageName);
+       strlcpy(this->stageName, name, sizeof this->stageName);
 }
 
 void Persistant::clear()