diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpanelpermissions.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/newview/llpanelpermissions.cpp b/linden/indra/newview/llpanelpermissions.cpp index 8512342..18ec28e 100644 --- a/linden/indra/newview/llpanelpermissions.cpp +++ b/linden/indra/newview/llpanelpermissions.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2002-2007, Linden Research, Inc. | 5 | * Copyright (c) 2002-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -384,7 +385,7 @@ void LLPanelPermissions::refresh() | |||
384 | else | 385 | else |
385 | { | 386 | { |
386 | char buffer[MAX_STRING]; /*Flawfinder: ignore*/ | 387 | char buffer[MAX_STRING]; /*Flawfinder: ignore*/ |
387 | snprintf(buffer, MAX_STRING, "%d Objects, ", obj_count); /*Flawfinder: ignore*/ | 388 | snprintf(buffer, MAX_STRING, "%d Objects, ", obj_count); /* Flawfinder: ignore */ |
388 | object_info_string.assign(buffer); | 389 | object_info_string.assign(buffer); |
389 | } | 390 | } |
390 | if (1 == prim_count) | 391 | if (1 == prim_count) |
@@ -394,7 +395,7 @@ void LLPanelPermissions::refresh() | |||
394 | else | 395 | else |
395 | { | 396 | { |
396 | char buffer[MAX_STRING]; /*Flawfinder: ignore*/ | 397 | char buffer[MAX_STRING]; /*Flawfinder: ignore*/ |
397 | snprintf(buffer, MAX_STRING, "%d Primitives", prim_count); /*Flawfinder: ignore*/ | 398 | snprintf(buffer, MAX_STRING, "%d Primitives", prim_count); /* Flawfinder: ignore */ |
398 | object_info_string.append(buffer); | 399 | object_info_string.append(buffer); |
399 | } | 400 | } |
400 | childSetText("prim info",object_info_string); | 401 | childSetText("prim info",object_info_string); |