diff options
Diffstat (limited to 'linden/indra/newview/llcompilequeue.cpp')
-rw-r--r-- | linden/indra/newview/llcompilequeue.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/linden/indra/newview/llcompilequeue.cpp b/linden/indra/newview/llcompilequeue.cpp index d566c20..93c2737 100644 --- a/linden/indra/newview/llcompilequeue.cpp +++ b/linden/indra/newview/llcompilequeue.cpp | |||
@@ -12,12 +12,12 @@ | |||
12 | * ("GPL"), unless you have obtained a separate licensing agreement | 12 | * ("GPL"), unless you have obtained a separate licensing agreement |
13 | * ("Other License"), formally executed by you and Linden Lab. Terms of | 13 | * ("Other License"), formally executed by you and Linden Lab. Terms of |
14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | 14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or |
15 | * online at http://secondlife.com/developers/opensource/gplv2 | 15 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 |
16 | * | 16 | * |
17 | * There are special exceptions to the terms and conditions of the GPL as | 17 | * There are special exceptions to the terms and conditions of the GPL as |
18 | * it is applied to this Source Code. View the full text of the exception | 18 | * it is applied to this Source Code. View the full text of the exception |
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 19 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
20 | * online at http://secondlife.com/developers/opensource/flossexception | 20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception |
21 | * | 21 | * |
22 | * By copying, modifying or distributing this software, you acknowledge | 22 | * By copying, modifying or distributing this software, you acknowledge |
23 | * that you have read and understood your obligations described above, | 23 | * that you have read and understood your obligations described above, |
@@ -203,7 +203,7 @@ BOOL LLFloaterScriptQueue::start() | |||
203 | snprintf(buffer, sizeof(buffer), "Starting %s of %d items.", mStartString, mObjectIDs.count()); /* Flawfinder: ignore */ | 203 | snprintf(buffer, sizeof(buffer), "Starting %s of %d items.", mStartString, mObjectIDs.count()); /* Flawfinder: ignore */ |
204 | 204 | ||
205 | LLScrollListCtrl* list = LLUICtrlFactory::getScrollListByName(this, "queue output"); | 205 | LLScrollListCtrl* list = LLUICtrlFactory::getScrollListByName(this, "queue output"); |
206 | list->addSimpleItem(buffer); | 206 | list->addCommentText(buffer); |
207 | 207 | ||
208 | return nextObject(); | 208 | return nextObject(); |
209 | } | 209 | } |
@@ -241,7 +241,7 @@ BOOL LLFloaterScriptQueue::nextObject() | |||
241 | mDone = TRUE; | 241 | mDone = TRUE; |
242 | char buffer[MAX_STRING]; /*Flawfinder: ignore*/ | 242 | char buffer[MAX_STRING]; /*Flawfinder: ignore*/ |
243 | snprintf(buffer, sizeof(buffer), "Done."); /* Flawfinder: ignore */ | 243 | snprintf(buffer, sizeof(buffer), "Done."); /* Flawfinder: ignore */ |
244 | list->addSimpleItem(buffer); | 244 | list->addCommentText(buffer); |
245 | childSetEnabled("close",TRUE); | 245 | childSetEnabled("close",TRUE); |
246 | } | 246 | } |
247 | return successful_start; | 247 | return successful_start; |
@@ -444,7 +444,7 @@ void LLFloaterCompileQueue::scriptArrived(LLVFS *vfs, const LLUUID& asset_id, | |||
444 | if(queue) | 444 | if(queue) |
445 | { | 445 | { |
446 | LLScrollListCtrl* list = LLUICtrlFactory::getScrollListByName(queue, "queue output"); | 446 | LLScrollListCtrl* list = LLUICtrlFactory::getScrollListByName(queue, "queue output"); |
447 | list->addSimpleItem(buffer); | 447 | list->addCommentText(buffer); |
448 | } | 448 | } |
449 | delete data; | 449 | delete data; |
450 | } | 450 | } |
@@ -625,7 +625,7 @@ void LLFloaterResetQueue::handleInventory(LLViewerObject* viewer_obj, | |||
625 | LLScrollListCtrl* list = LLUICtrlFactory::getScrollListByName(this, "queue output"); | 625 | LLScrollListCtrl* list = LLUICtrlFactory::getScrollListByName(this, "queue output"); |
626 | char buffer[MAX_STRING]; /*Flawfinder: ignore*/ | 626 | char buffer[MAX_STRING]; /*Flawfinder: ignore*/ |
627 | snprintf(buffer, sizeof(buffer), "Resetting '%s'.", item->getName().c_str()); /* Flawfinder: ignore */ | 627 | snprintf(buffer, sizeof(buffer), "Resetting '%s'.", item->getName().c_str()); /* Flawfinder: ignore */ |
628 | list->addSimpleItem(buffer); | 628 | list->addCommentText(buffer); |
629 | LLMessageSystem* msg = gMessageSystem; | 629 | LLMessageSystem* msg = gMessageSystem; |
630 | msg->newMessageFast(_PREHASH_ScriptReset); | 630 | msg->newMessageFast(_PREHASH_ScriptReset); |
631 | msg->nextBlockFast(_PREHASH_AgentData); | 631 | msg->nextBlockFast(_PREHASH_AgentData); |
@@ -688,7 +688,7 @@ void LLFloaterRunQueue::handleInventory(LLViewerObject* viewer_obj, | |||
688 | LLScrollListCtrl* list = LLUICtrlFactory::getScrollListByName(this, "queue output"); | 688 | LLScrollListCtrl* list = LLUICtrlFactory::getScrollListByName(this, "queue output"); |
689 | char buffer[MAX_STRING]; /*Flawfinder: ignore*/ | 689 | char buffer[MAX_STRING]; /*Flawfinder: ignore*/ |
690 | snprintf(buffer, sizeof(buffer), "Running '%s'.", item->getName().c_str()); /* Flawfinder: ignore */ | 690 | snprintf(buffer, sizeof(buffer), "Running '%s'.", item->getName().c_str()); /* Flawfinder: ignore */ |
691 | list->addSimpleItem(buffer); | 691 | list->addCommentText(buffer); |
692 | 692 | ||
693 | LLMessageSystem* msg = gMessageSystem; | 693 | LLMessageSystem* msg = gMessageSystem; |
694 | msg->newMessageFast(_PREHASH_SetScriptRunning); | 694 | msg->newMessageFast(_PREHASH_SetScriptRunning); |
@@ -753,7 +753,7 @@ void LLFloaterNotRunQueue::handleInventory(LLViewerObject* viewer_obj, | |||
753 | LLScrollListCtrl* list = LLUICtrlFactory::getScrollListByName(this, "queue output"); | 753 | LLScrollListCtrl* list = LLUICtrlFactory::getScrollListByName(this, "queue output"); |
754 | char buffer[MAX_STRING]; /*Flawfinder: ignore*/ | 754 | char buffer[MAX_STRING]; /*Flawfinder: ignore*/ |
755 | snprintf(buffer, sizeof(buffer), "Not running '%s'.", item->getName().c_str()); /* Flawfinder: ignore */ | 755 | snprintf(buffer, sizeof(buffer), "Not running '%s'.", item->getName().c_str()); /* Flawfinder: ignore */ |
756 | list->addSimpleItem(buffer); | 756 | list->addCommentText(buffer); |
757 | 757 | ||
758 | LLMessageSystem* msg = gMessageSystem; | 758 | LLMessageSystem* msg = gMessageSystem; |
759 | msg->newMessageFast(_PREHASH_SetScriptRunning); | 759 | msg->newMessageFast(_PREHASH_SetScriptRunning); |