diff options
Diffstat (limited to 'indra/llxuixml/lltrans.h')
-rw-r--r-- | indra/llxuixml/lltrans.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/indra/llxuixml/lltrans.h b/indra/llxuixml/lltrans.h index 4a99c5e0e2..84eeef0ace 100644 --- a/indra/llxuixml/lltrans.h +++ b/indra/llxuixml/lltrans.h @@ -107,15 +107,7 @@ public: { std::string key_str(keystring); std::string trans_str; - if (findString(trans_str, "Key_" + key_str)) - { - return trans_str; - } - else if (findString(trans_str, key_str)) - { - return trans_str; - } - return key_str; + return findString(trans_str, key_str) ? trans_str : key_str; } // get the default args |