Project

General

Profile

3066_3.txt

Sergey Ivanovskiy, 04/17/2016 08:29 PM

Download (589 Bytes)

 
1
=== modified file 'src/com/goldencode/p2j/ui/client/WindowManager.java'
2
--- src/com/goldencode/p2j/ui/client/WindowManager.java	2016-04-08 19:10:13 +0000
3
+++ src/com/goldencode/p2j/ui/client/WindowManager.java	2016-04-18 00:00:13 +0000
4
@@ -996,6 +996,14 @@
5
       
6
       c.widthChars = wa.defaultColumns;
7
       c.heightChars = wa.defaultRows;
8
+      if (c.maxWidthChars == BaseConfig.INV_COORD)
9
+      {
10
+         c.maxWidthChars = c.widthChars;
11
+      }
12
+      if (c.maxHeightChars == BaseConfig.INV_COORD)
13
+      {
14
+         c.maxHeightChars = c.heightChars;
15
+      }
16
    }
17
 
18
    /**
19