Usermode/AxWin3 - Working on keyboard input
[tpg/acess2.git] / Usermode / Applications / axwin3_src / WM / video.c
index f359884..a65ddf9 100644 (file)
@@ -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;
        }
 }

UCC git Repository :: git.ucc.asn.au