mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-19 14:43:47 +00:00
More cats and cpys in files that xcode doesn't see
This commit is contained in:
parent
dce7f5f6b3
commit
d9a723d533
21 changed files with 43 additions and 43 deletions
|
|
@ -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" );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue