Fixed component directory path handling.

This commit is contained in:
Robert Osfield
2008-11-19 17:02:45 +00:00
parent 094733def5
commit 35330867c5

View File

@@ -138,9 +138,7 @@ struct InitOperation : public osg::Operation
if (applicationDir.empty()) applicationDir = osgDB::getRealPath(".");
else applicationDir = osgDB::getRealPath(applicationDir);
osg::notify(osg::NOTICE)<<"XUL_DIR = "<<#XUL_DIR<<std::endl;
std::string componentDir = "/usr/lib/xulrunner";
std::string componentDir = ADDQUOTES(XUL_DIR);
std::string profileDir = applicationDir + "/" + ".profile";
LLMozLib::getInstance()->init( applicationDir, componentDir, profileDir, ubrowserManager->getNativeWindowHandle() );