summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-09 16:34:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-10 03:07:43 +0300
commitc1301357408a8253806a43d3809b759431ec5c0f (patch)
tree25748e4ce9209bf03af6a84208b1af5950535090
parent328977cfec1c5f370043d27b64ded201da95a380 (diff)
downloadmanaverse-c1301357408a8253806a43d3809b759431ec5c0f.tar.gz
manaverse-c1301357408a8253806a43d3809b759431ec5c0f.tar.bz2
manaverse-c1301357408a8253806a43d3809b759431ec5c0f.tar.xz
manaverse-c1301357408a8253806a43d3809b759431ec5c0f.zip
Allow correct resize for 470x320 and bigger.
-rw-r--r--src/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 4c8ef0881..b22ad5994 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -2704,8 +2704,8 @@ void Client::resizeVideo(int width, int height, const bool always)
{
// Keep a minimum size. This isn't adhered to by the actual window, but
// it keeps some window positions from getting messed up.
- width = std::max(640, width);
- height = std::max(480, height);
+ width = std::max(470, width);
+ height = std::max(320, height);
if (!mainGraphics)
return;