More fixing

master
Ansariel 2015-07-11 17:03:07 +02:00
parent 3d5753fb2d
commit 40eebb7c94
3 changed files with 5 additions and 3 deletions

View File

@ -280,7 +280,7 @@ void LLChatEntry::paste()
{
S32 cursor_pos = getCursorPos();
LLWString content = getWText();
LLWStringUtil::replaceChar(content, '\n', 182);
LLWStringUtil::replaceChar(content, '\n', llwchar(182));
setWText(content);
setCursorPos(cursor_pos);
}

View File

@ -1787,7 +1787,8 @@ BOOL FSFloaterIM::handleKeyHere( KEY key, MASK mask )
}
else
{
mInputEditor->insertText(LLWString(1, llwchar(182)));
LLWString line_break(1, llwchar(182));
mInputEditor->insertText(line_break);
}
}

View File

@ -729,7 +729,8 @@ BOOL FSFloaterNearbyChat::handleKeyHere( KEY key, MASK mask )
}
else
{
mInputEditor->insertText(LLWString(1, llwchar(182)));
LLWString line_break(1, llwchar(182));
mInputEditor->insertText(line_break);
}
}