diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloatersellland.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/linden/indra/newview/llfloatersellland.cpp b/linden/indra/newview/llfloatersellland.cpp index f3ae4ec..0be9246 100644 --- a/linden/indra/newview/llfloatersellland.cpp +++ b/linden/indra/newview/llfloatersellland.cpp | |||
@@ -244,13 +244,7 @@ void LLFloaterSellLandUI::updateParcelInfo() | |||
244 | if(mSellToBuyer) | 244 | if(mSellToBuyer) |
245 | { | 245 | { |
246 | LLString name; | 246 | LLString name; |
247 | char firstname[MAX_STRING]; /* Flawfinder: ignore */ | 247 | gCacheName->getFullName(mAuthorizedBuyer, name); |
248 | char lastname[MAX_STRING]; /* Flawfinder: ignore */ | ||
249 | gCacheName->getName(mAuthorizedBuyer, firstname, lastname); | ||
250 | name.assign(firstname); | ||
251 | name.append(" "); | ||
252 | name.append(lastname); | ||
253 | |||
254 | childSetText("sell_to_agent", name); | 248 | childSetText("sell_to_agent", name); |
255 | } | 249 | } |
256 | } | 250 | } |