]> git.sur5r.net Git - cc65/blobdiff - samples/geos/hello2.c
Fixed a typo.
[cc65] / samples / geos / hello2.c
index 8bc28ab3dfcb56a2070cad13fd8b62f95fd8fb9e..1692c4b5b6db4a5dde168ba08e7505d130f74d16 100644 (file)
@@ -45,6 +45,12 @@ void main (void)
 /* Normal apps exit from main into system's mainloop, and app finish
    when user selects it from icons or menu, but here we want to exit
    immediately.
+   So instead:
+    MainLoop();
+   we can do:
+    (nothing as this is the end of main function)
+    exit(0);
+    return;
 */
-    EnterDeskTop();
+    return;
 }