diff os2/dw.c @ 124:edf615d8266e

Use float instead of int for percent on Windows. And a minor safety check on OS/2.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 20 Oct 2002 01:41:04 +0000
parents 63f61a702b17
children 0d2cbd9d4028
line wrap: on
line diff
--- a/os2/dw.c	Sun Oct 20 01:32:08 2002 +0000
+++ b/os2/dw.c	Sun Oct 20 01:41:04 2002 +0000
@@ -2319,7 +2319,7 @@
 		{
 			int x = SHORT1FROMMP(mp2), y = SHORT2FROMMP(mp2);
 
-			if(x > 0 && y > 0)
+			if(x > 0 && y > 0 && percent)
 			{
 				if(type == BOXHORZ)
 				{