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:
@@ -5,8 +5,8 @@
|
||||
|
||||
Hello, world example - with DBox
|
||||
|
||||
Maciej 'YTM/Alliance' Witkowiak
|
||||
<ytm@friko.onet.pl>
|
||||
Maciej 'YTM/Elysium' Witkowiak
|
||||
<ytm@elysium.pl>
|
||||
|
||||
26.12.1999
|
||||
*/
|
||||
@@ -24,6 +24,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