changeset 943:675c12b1b90e

Changed check from x and y not being zero to x and y being greater than zero since it seems values can be negative on Mac.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 28 Apr 2011 15:01:59 +0000
parents 3c9dfb004df6
children cdb7a53e5515
files mac/dw.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mac/dw.m	Wed Apr 27 11:55:17 2011 +0000
+++ b/mac/dw.m	Thu Apr 28 15:01:59 2011 +0000
@@ -2515,7 +2515,7 @@
 
 static void _do_resize(Box *thisbox, int x, int y)
 {
-    if(x != 0 && y != 0)
+    if(x > 0 && y > 0)
     {
         if(thisbox)
         {