]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/CReplayData.cpp
Use snprintf() and strncpy().
[quix0rs-blobwars.git] / src / CReplayData.cpp
old mode 100755 (executable)
new mode 100644 (file)
index 218fff1..6af8492
@@ -13,7 +13,7 @@ ReplayData::ReplayData()
        header.version = VERSION;
        header.release = RELEASE;
        
-       strcpy(filename, "");
+       filename[0] = 0;
 }
 
 ReplayData::~ReplayData()