]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/CFileData.cpp
Incorrect reference to SDL_FRMEWORK
[quix0rs-blobwars.git] / src / CFileData.cpp
index f3ebe92891340aefa9655200d6f14b0d0fe01d53..01c891fd8e65e49dfe6111d4483ce90920b43ce4 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
@@ -36,7 +36,7 @@ void FileData::set(const char *filename, Uint32 fSize, Uint32 cSize, Uint32 loca
                return;
        }
        
-       strncpy(this->filename, filename, sizeof this->filename);
+       strlcpy(this->filename, filename, sizeof this->filename);
        
        this->fSize = fSize;
        this->cSize = cSize;