projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06adf6b
)
Fix uninitialized reference in xterm_dump_rectangle.
author
Taylor R Campbell
<campbell@mumble.net>
Thu, 14 Oct 2010 04:59:39 +0000
(
04:59
+0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Thu, 14 Oct 2010 04:59:39 +0000
(
04:59
+0000)
src/microcode/x11term.c
patch
|
blob
|
history
diff --git
a/src/microcode/x11term.c
b/src/microcode/x11term.c
index 00c91b8845d243653a42d8c23ae8bab1f18352ef..a26d69ca9a4eaf6f0130ea03486f0c7425ee450a 100644
(file)
--- a/
src/microcode/x11term.c
+++ b/
src/microcode/x11term.c
@@
-288,7
+288,7
@@
xterm_dump_rectangle (struct xwindow * xw,
unsigned int border = (XW_INTERNAL_BORDER_WIDTH (xw));
if ((signed_x < 0) || (((unsigned int) signed_x) < border))
{
- width -= (border -
x
);
+ width -= (border -
((unsigned int) signed_x)
);
x = 0;
}
else
@@
-297,7
+297,7
@@
xterm_dump_rectangle (struct xwindow * xw,
width = ((XW_X_SIZE (xw)) - x);
if ((signed_y < 0) || (((unsigned int) signed_y) < border))
{
- height -= (border -
y
);
+ height -= (border -
((unsigned int) signed_y)
);
y = 0;
}
else