Replace magic number with correct way to retrieve the value
parent
7b317a53b4
commit
0fe86a30bc
|
|
@ -747,7 +747,7 @@ void LLScriptEdCore::setScriptText(const std::string& text, BOOL is_valid)
|
|||
if(mPostEditor)mPostEditor->setText(ntext);
|
||||
ntext = mLSLProc->decode(ntext);
|
||||
}
|
||||
LLStringUtil::replaceTabsWithSpaces(ntext, 4);
|
||||
LLStringUtil::replaceTabsWithSpaces(ntext, mEditor->spacesPerTab());
|
||||
// NaCl End
|
||||
mEditor->setText(ntext);
|
||||
mHasScriptData = is_valid;
|
||||
|
|
|
|||
Loading…
Reference in New Issue