diff --git a/pandatool/src/mayaprogs/mayaEggImport.cxx b/pandatool/src/mayaprogs/mayaEggImport.cxx index 5d61349968..85828f3df0 100755 --- a/pandatool/src/mayaprogs/mayaEggImport.cxx +++ b/pandatool/src/mayaprogs/mayaEggImport.cxx @@ -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; diff --git a/pandatool/src/mayaprogs/mayaPview.cxx b/pandatool/src/mayaprogs/mayaPview.cxx index c59da228d0..057912d1d3 100755 --- a/pandatool/src/mayaprogs/mayaPview.cxx +++ b/pandatool/src/mayaprogs/mayaPview.cxx @@ -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();