fix debug builds in debug.cpp

This commit is contained in:
Brian Cox 2017-03-17 18:38:56 -07:00
parent 2b067176ad
commit 6ea9c0b92e
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ cDebug::cDebug(const char* label)
cDebug::cDebug(const cDebug &rhs)
{
strcpy(mLabel, rhs.mLabel, MAX_LABEL);
strncpy(mLabel, rhs.mLabel, MAX_LABEL);
}
cDebug::~cDebug()