made do_frame() pass the current thread to make it compile under linux

This commit is contained in:
Dustin Barnard 2006-06-08 20:21:54 +00:00
parent 08d305dea2
commit 3f5a8dbd69
2 changed files with 3 additions and 3 deletions

View File

@ -150,7 +150,7 @@ MPxFileTranslator::MFileKind MayaEggImporter::identifyFile (
const char * name = fileName.name().asChar();
int nameLength = strlen(name);
if ((nameLength > 4) && !stricmp(name+nameLength-4, ".egg"))
if ((nameLength > 4) && !strcmp(name+nameLength-4, ".egg"))
return kCouldBeMyFileType;
else
return kNotMyFileType;

View File

@ -183,8 +183,8 @@ doIt(const MArgList &args) {
// Allow a couple of frames to go by so the window will be fully
// created and the text will be visible.
framework.do_frame();
framework.do_frame();
framework.do_frame(Thread::get_current_thread());
framework.do_frame(Thread::get_current_thread());
window->enable_keyboard();
window->setup_trackball();