From 4843b4a1de2bac31b977de6f71a8e30fd548cbef Mon Sep 17 00:00:00 2001 From: Tonya Souther Date: Sat, 11 Jul 2015 10:21:23 -0500 Subject: [PATCH] Compile fixes for compilers that aren't Visual C++. --- indra/newview/fsfloaterim.cpp | 3 ++- indra/newview/fsfloaternearbychat.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/indra/newview/fsfloaterim.cpp b/indra/newview/fsfloaterim.cpp index 038cdb1f2c..28ba00d53f 100644 --- a/indra/newview/fsfloaterim.cpp +++ b/indra/newview/fsfloaterim.cpp @@ -1787,7 +1787,8 @@ BOOL FSFloaterIM::handleKeyHere( KEY key, MASK mask ) } else { - mInputEditor->insertText(LLWString(1, 182)); + LLWString tempString(1,182); + mInputEditor->insertText(tempString); } } diff --git a/indra/newview/fsfloaternearbychat.cpp b/indra/newview/fsfloaternearbychat.cpp index 22a1456cb6..c457765376 100644 --- a/indra/newview/fsfloaternearbychat.cpp +++ b/indra/newview/fsfloaternearbychat.cpp @@ -729,7 +729,8 @@ BOOL FSFloaterNearbyChat::handleKeyHere( KEY key, MASK mask ) } else { - mInputEditor->insertText(LLWString(1, 182)); + LLWString tempString(1,182); + mInputEditor->insertText(tempString); } }