Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Testicular Slingshot
Alchemy Viewer
Commits
394b253c
Commit
394b253c
authored
Feb 12, 2020
by
Testicular Slingshot
Browse files
Stylistic changes.
parent
83eba38a
Changes
2
Hide whitespace changes
Inline
Side-by-side
indra/newview/llimprocessing.cpp
View file @
394b253c
...
...
@@ -493,7 +493,7 @@ void LLIMProcessing::processNewMessage(LLUUID from_id,
// make sure that we don't have an empty or all-whitespace name
LLStringUtil
::
trim
(
name
);
static
const
LLCachedControl
<
bool
>
sMarkUnnamedObjects
(
gSavedSettings
,
"AlchemyChatMarkUnnamedObjects"
);
if
(
name
.
empty
()
&&
sMarkUnnamedObjects
)
if
(
sMarkUnnamedObjects
&&
name
.
empty
()
)
{
name
=
LLTrans
::
getString
(
"Unnamed"
);
}
...
...
indra/newview/llviewermessage.cpp
View file @
394b253c
...
...
@@ -2412,7 +2412,7 @@ void process_chat_from_simulator(LLMessageSystem* msg, void** user_data)
// make sure that we don't have an empty or all-whitespace name
LLStringUtil
::
trim
(
from_name
);
static
const
LLCachedControl
<
bool
>
sMarkUnnamedObjects
(
gSavedSettings
,
"AlchemyChatMarkUnnamedObjects"
);
if
(
from_name
.
empty
()
&&
sMarkUnnamedObjects
)
if
(
sMarkUnnamedObjects
&&
from_name
.
empty
()
)
{
from_name
=
LLTrans
::
getString
(
"Unnamed"
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment