repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: c4294eb19084b23198dcb25c47ac254cdfb95d87:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit c4294eb19084b23198dcb25c47ac254cdfb95d87
Author: Marc Lehmann 
Date:   Mon Aug 7 21:38:24 2006 +0000

    *** empty log message ***

diff --git a/src/rxvtperl.xs b/src/rxvtperl.xs
index ebf8864958507d0ad229c940a997bb7a625005c3..
index ..d91da88d293ff1ab9770a0b0bd4c97934c05655b 100644
--- 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-----