summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindowlistener.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewerwindowlistener.cpp')
-rw-r--r--indra/newview/llviewerwindowlistener.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/indra/newview/llviewerwindowlistener.cpp b/indra/newview/llviewerwindowlistener.cpp
index acf25b9792..da7e18af5c 100644
--- a/indra/newview/llviewerwindowlistener.cpp
+++ b/indra/newview/llviewerwindowlistener.cpp
@@ -3,25 +3,25 @@
* @author Nat Goodspeed
* @date 2009-06-30
* @brief Implementation for llviewerwindowlistener.
- *
+ *
* $LicenseInfo:firstyear=2009&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
- *
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;
* version 2.1 of the License only.
- *
+ *
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
- *
+ *
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
+ *
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
* $/LicenseInfo$
*/
@@ -96,7 +96,7 @@ void LLViewerWindowListener::saveSnapshot(const LLSD& event) const
{
LL_ERRS("LLViewerWindowListener") << "LLViewerWindowListener::saveSnapshot(): "
<< "unrecognized type " << event["type"] << LL_ENDL;
- return;
+ return;
}
type = found->second;
}
@@ -106,8 +106,8 @@ void LLViewerWindowListener::saveSnapshot(const LLSD& event) const
void LLViewerWindowListener::requestReshape(LLSD const & event_data) const
{
- if(event_data.has("w") && event_data.has("h"))
- {
- mViewerWindow->reshape(event_data["w"].asInteger(), event_data["h"].asInteger());
- }
+ if(event_data.has("w") && event_data.has("h"))
+ {
+ mViewerWindow->reshape(event_data["w"].asInteger(), event_data["h"].asInteger());
+ }
}