projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
102b191
)
*** empty log message ***
author
root
<root>
Mon, 7 Aug 2006 21:38:24 +0000
(21:38 +0000)
committer
root
<root>
Mon, 7 Aug 2006 21:38:24 +0000
(21:38 +0000)
src/rxvtperl.xs
patch
|
blob
|
history
diff --git
a/src/rxvtperl.xs
b/src/rxvtperl.xs
index
ebf8864
..
d91da88
100644
(file)
--- 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;