Commits

Seth ProductEngine committed 1926633

EXP-1756 FIXED setting user defined window size via floater Window Size.

Comments (0)

Files changed (1)

indra/llwindow/llwindow.cpp

 {
 	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);
 }