Merge pull request #842 from eightyeight/console-func-refactor

jamesu's console function refactor
This commit is contained in:
Daniel Buckmaster 2014-10-24 00:42:58 +11:00
commit 81a385094f
94 changed files with 1886 additions and 721 deletions

View file

@ -494,9 +494,9 @@ ConsoleMethod( FileObject, writeObject, void, 3, 4, "FileObject.writeObject(SimO
return;
}
char *objName = NULL;
const char *objName = NULL;
if( argc == 4 )
objName = (char*)argv[3];
objName = (const char*)argv[3];
object->writeObject( obj, (const U8*)objName );
}