aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/basic/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/modules/gwin/basic/main.c')
-rw-r--r--demos/modules/gwin/basic/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/modules/gwin/basic/main.c b/demos/modules/gwin/basic/main.c
index c46e6969..eee22f29 100644
--- a/demos/modules/gwin/basic/main.c
+++ b/demos/modules/gwin/basic/main.c
@@ -37,7 +37,7 @@ int main(void) {
/* Initialize and clear the display */
gfxInit();
- gdispClear(Lime);
+ gdispClear(White);
/* Create two windows */
{
@@ -60,7 +60,7 @@ int main(void) {
gwinClear(GW2);
gwinDrawLine(GW1, 5, 30, 150, 110);
- for(i=5, j=0; i < 200 && j < 150; i+=3, j+=i/20)
+ for(i = 5, j = 0; i < 200 && j < 150; i += 3, j += i/20)
gwinDrawPixel(GW1, i, j);
/*