From fc185a8e8da41d1f2b196cc9d5c6765e00f929c0 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Sat, 18 Feb 2012 01:10:11 -0700 Subject: Fixed compile error introduced in b2bc5393 --- linden/indra/newview/llfloateropenobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linden/indra') diff --git a/linden/indra/newview/llfloateropenobject.cpp b/linden/indra/newview/llfloateropenobject.cpp index 3e672b5..5f62e87 100644 --- a/linden/indra/newview/llfloateropenobject.cpp +++ b/linden/indra/newview/llfloateropenobject.cpp @@ -195,7 +195,7 @@ void LLFloaterOpenObject::moveToInventory(bool wear) void LLFloaterOpenObject::callbackCreateInventoryCategory(const LLSD& result, void* data) { LLCategoryCreate* cat_data = (LLCategoryCreate*)data; - if (result.has("failure") and result["failure"]) + if (result.has("failure") && result["failure"]) { delete cat_data; return; -- cgit v1.1