repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: c4294eb19084b23198dcb25c47ac254cdfb95d87: path_to: revision_to:
commit c4294eb19084b23198dcb25c47ac254cdfb95d87 Author: Marc LehmannDate: Mon Aug 7 21:38:24 2006 +0000 *** empty log message *** diff --git a/src/rxvtperl.xs b/src/rxvtperl.xs
--- a/src/rxvtperl.xs
+++ b/src/rxvtperl.xs
@@ -270,6 +270,9 @@ public:
overlay::overlay (rxvt_term *THIS, int x_, int y_, int w_, int h_, rend_t rstyle, int border)
: THIS(THIS), x(x_), y(y_), w(w_), h(h_), border(border == 2), overlay_av (0)
{
+ if (w < 0) w = 0;
+ if (h < 0) h = 0;
+
if (border == 2)
{
w += 2;
-----END OF PAGE-----