diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-09 16:34:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-10 03:07:43 +0300 |
commit | c1301357408a8253806a43d3809b759431ec5c0f (patch) | |
tree | 25748e4ce9209bf03af6a84208b1af5950535090 /src/client.cpp | |
parent | 328977cfec1c5f370043d27b64ded201da95a380 (diff) | |
download | manaplus-c1301357408a8253806a43d3809b759431ec5c0f.tar.gz manaplus-c1301357408a8253806a43d3809b759431ec5c0f.tar.bz2 manaplus-c1301357408a8253806a43d3809b759431ec5c0f.tar.xz manaplus-c1301357408a8253806a43d3809b759431ec5c0f.zip |
Allow correct resize for 470x320 and bigger.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 4 |
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; |