git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Work on WM's sizing code, not quite complete yet
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin2_src
/
WM
/
video.c
diff --git
a/Usermode/Applications/axwin2_src/WM/video.c
b/Usermode/Applications/axwin2_src/WM/video.c
index
80e1302
..
d17e0e5
100644
(file)
--- a/
Usermode/Applications/axwin2_src/WM/video.c
+++ b/
Usermode/Applications/axwin2_src/WM/video.c
@@
-76,7
+76,7
@@
void Video_FillRect(short X, short Y, short W, short H, uint32_t Color)
if(W < 0 || X < 0 || X >= giScreenWidth) return ;
if(X + W > giScreenWidth) W = giScreenWidth - X;
if(W < 0 || X < 0 || X >= giScreenWidth) return ;
if(X + W > giScreenWidth) W = giScreenWidth - X;
- if(H < 0 ||
H < 0 || H
>= giScreenHeight) return ;
+ if(H < 0 ||
Y < 0 || Y
>= giScreenHeight) return ;
if(Y + H > giScreenHeight) H = giScreenHeight - Y;
while( H -- )
if(Y + H > giScreenHeight) H = giScreenHeight - Y;
while( H -- )
UCC
git Repository :: git.ucc.asn.au