From c3e9150125d646366d54e14f5b8a5c62ce77da94 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Mon, 2 Feb 2015 19:28:29 -0500 Subject: [PATCH] Oops, should leave that there. --- indra/newview/llnotify.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/indra/newview/llnotify.cpp b/indra/newview/llnotify.cpp index f84efeaa3..62ef0e53a 100644 --- a/indra/newview/llnotify.cpp +++ b/indra/newview/llnotify.cpp @@ -529,7 +529,9 @@ void LLNotifyBox::drawBackground() const void LLNotifyBox::close() { - if (!mIsTip) + bool not_tip = !mIsTip; + die(); + if (not_tip) { if (LLNotifyBox* front = gNotifyBoxView->getFirstNontipBox()) { @@ -541,8 +543,6 @@ void LLNotifyBox::close() } --sNotifyBoxCount; } - - die(); } void LLNotifyBox::format(std::string& msg, const LLStringUtil::format_map_t& args)