More cats and cpys in files that xcode doesn't see

This commit is contained in:
Glenn Smith 2018-03-07 01:13:56 -05:00
parent dce7f5f6b3
commit d9a723d533
21 changed files with 43 additions and 43 deletions

View file

@ -41,7 +41,7 @@ bool InitOpenGL()
// Get the video settings from the prefs:
const char* resString = Con::getVariable( "$pref::Video::resolution" );
char* tempBuf = new char[dStrlen( resString ) + 1];
dStrcpy( tempBuf, resString );
dStrcpy( tempBuf, resString, dStrlen(resString) + 1 );
char* temp = dStrtok( tempBuf, " x\0" );
U32 width = ( temp ? dAtoi( temp ) : 800 );
temp = dStrtok( NULL, " x\0" );