sample programs updated for new GEOS exit/return/MainLoop policy
git-svn-id: svn://svn.cc65.org/cc65/trunk@1899 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user