summaryrefslogtreecommitdiff
path: root/indra/llwindow
diff options
context:
space:
mode:
authorSeth ProductEngine <slitovchuk@productengine.com>2011-12-30 22:31:19 +0200
committerSeth ProductEngine <slitovchuk@productengine.com>2011-12-30 22:31:19 +0200
commited431700ed7ddd57a3629a3cd6bfb9c39b6105e0 (patch)
treed606aa51a6a508985d25e08c4f1991a72be9cd44 /indra/llwindow
parentcbeaf3d7a0dd7bdb739b8e72addd41410940a8f5 (diff)
EXP-1756 FIXED setting user defined window size via floater Window Size.
Diffstat (limited to 'indra/llwindow')
-rw-r--r--indra/llwindow/llwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llwindow/llwindow.cpp b/indra/llwindow/llwindow.cpp
index 1351bed547..2e9e31bfea 100644
--- a/indra/llwindow/llwindow.cpp
+++ b/indra/llwindow/llwindow.cpp
@@ -186,8 +186,8 @@ BOOL LLWindow::setSize(LLCoordScreen size)
{
if (!getMaximized())
{
- size.mX = llmin(size.mX, mMinWindowWidth);
- size.mY = llmin(size.mY, mMinWindowHeight);
+ size.mX = llmax(size.mX, mMinWindowWidth);
+ size.mY = llmax(size.mY, mMinWindowHeight);
}
return setSizeImpl(size);
}