[Swift-commit] r2770 - trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/tui

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Sun Mar 29 15:48:35 CDT 2009


Author: hategan
Date: 2009-03-29 15:48:34 -0500 (Sun, 29 Mar 2009)
New Revision: 2770

Modified:
   trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/tui/ANSIContext.java
Log:
&& has higher priority than ||

Modified: trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/tui/ANSIContext.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/tui/ANSIContext.java	2009-03-29 20:39:41 UTC (rev 2769)
+++ trunk/src/org/griphyn/vdl/karajan/monitor/monitors/ansi/tui/ANSIContext.java	2009-03-29 20:48:34 UTC (rev 2770)
@@ -245,7 +245,7 @@
         if (count == 0) {
             count = 10;
             int[] size = querySize();
-            if (size != null && size[0] != buf.getWidth() || size[1] != buf.getHeight()) {
+            if (size != null && (size[0] != buf.getWidth() || size[1] != buf.getHeight())) {
                 buf.resize(size[0], size[1]);
                 screen.setSize(size[0], size[1]);
                 screen.invalidate();




More information about the Swift-commit mailing list