X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=Usermode%2FApplications%2Faxwin3_src%2FWM%2Fvideo.c;h=a65ddf961c2863d03d4a2d3634bd8090c0d95245;hb=94478ae8163d1ce92ed54550f03e76bb9f2e1802;hp=f3598848e6566e6d735dee731d7ef3adff8a9d3e;hpb=b1488ae9beae34068d38d00e191b90ef0bf812f3;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin3_src/WM/video.c b/Usermode/Applications/axwin3_src/WM/video.c index f3598848..a65ddf96 100644 --- a/Usermode/Applications/axwin3_src/WM/video.c +++ b/Usermode/Applications/axwin3_src/WM/video.c @@ -104,7 +104,7 @@ void Video_FillRect(int X, int Y, int W, int H, uint32_t Colour) dest = gpScreenBuffer + Y * giScreenWidth + X; while(H --) { - for( i = W; W --; dest ++) *dest = Colour; + for( i = W; i --; dest ++ ) *dest = Colour; dest += giScreenWidth - W; } }