/*
-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
Persistant::Persistant()
{
- strcpy(stageName, "");
+ stageName[0] = 0;
numberOfLines = 0;
}
void Persistant::setName(const char *name)
{
- strcpy(this->stageName, name);
+ strlcpy(this->stageName, name, sizeof this->stageName);
}
void Persistant::clear()