/*
-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
exit(1);
}
- strncpy(this->name, name, sizeof this->name);
- strncpy(this->groupName, groupName, sizeof this->groupName);
- strncpy(this->label, label, sizeof this->label);
- strncpy(this->options, options, sizeof this->options);
+ strlcpy(this->name, name, sizeof this->name);
+ strlcpy(this->groupName, groupName, sizeof this->groupName);
+ strlcpy(this->label, label, sizeof this->label);
+ strlcpy(this->options, options, sizeof this->options);
this->x = x;
this->y = y;
this->min = min;