Mini-fixes
This commit is contained in:
@@ -607,7 +607,12 @@ void LLNotification::init(const std::string& template_name, const LLSD& form_ele
|
||||
|
||||
// add default substitutions
|
||||
// TODO: change this to read from the translatable strings file!
|
||||
mSubstitutions["[SECOND_LIFE]"] = "Second Life";
|
||||
if (gHippoGridManager->getConnectedGrid()->isSecondLife()) {
|
||||
mSubstitutions["[SECOND_LIFE]"] = "Second Life";
|
||||
}
|
||||
else {
|
||||
mSubstitutions["[SECOND_LIFE]"] = gHippoGridManager->getConnectedGrid()->getGridName();
|
||||
}
|
||||
mSubstitutions["[VIEWER_NAME]"] = LLNotifications::instance().getGlobalString("VIEWER_NAME");
|
||||
mSubstitutions["[VIEWER_SITE]"] = LLNotifications::instance().getGlobalString("VIEWER_SITE");
|
||||
|
||||
|
||||
@@ -132,10 +132,7 @@ void ungrab_pa_syms()
|
||||
sSymPADSOHandleG = NULL;
|
||||
}
|
||||
|
||||
if ( sSymPADSOMemoryPool )
|
||||
{
|
||||
sSymPADSOMemoryPool.destroy();
|
||||
}
|
||||
sSymPADSOMemoryPool.destroy();
|
||||
|
||||
// NULL-out all of the symbols we'd grabbed
|
||||
#define LL_PA_SYM(REQUIRED, PASYM, RTN, ...) do{ll##PASYM = NULL;}while(0)
|
||||
|
||||
Reference in New Issue
Block a user