Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
pager.c
Log Message:
Sanity check.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/pager.c,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -3 -r1.152 -r1.153
--- pager.c 17 Jun 2005 18:27:36 -0000 1.152
+++ pager.c 17 Jun 2005 18:57:42 -0000 1.153
@@ -741,6 +741,10 @@
y = (y * p->dh) / VRoot.h;
w = (w * p->dw) / VRoot.w;
h = (h * p->dh) / VRoot.h;
+ if (w <= 0)
+ w = 1;
+ if (h <= 0)
+ h = 1;
if (!gc)
gc = ECreateGC(p->pmap, 0, NULL);
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs