OS X build fixes

This commit is contained in:
Siana Gearz
2011-07-03 14:08:50 +02:00
parent af9259e626
commit 73fd876423
10 changed files with 58 additions and 38 deletions

View File

@@ -189,16 +189,12 @@ OSStatus LLDirPicker::doNavChooseDialog()
error = NavCreateChooseFolderDialog(&mNavOptions, &doNavCallbackEvent, NULL, NULL, &navRef);
gViewerWindow->mWindow->beforeDialog();
if (error == noErr)
{
PLS_FLUSH;
error = NavDialogRun(navRef);
}
gViewerWindow->mWindow->afterDialog();
if (error == noErr)
error = NavDialogGetReply(navRef, &navReply);
@@ -232,7 +228,7 @@ BOOL LLDirPicker::getDir(std::string const& folder)
BOOL success = FALSE;
OSStatus error = noErr;
mFileName = folder;
mFileName = const_cast<std::string*>(&folder);
// mNavOptions.saveFileName