Normalized coding style.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5516 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc
2012-02-09 12:32:53 +00:00
parent 1ccfe46892
commit c3205877cd
12 changed files with 186 additions and 205 deletions

View File

@@ -1,6 +1,4 @@
/*
GEOSLib example
Hello, world example - with DBox
@@ -11,25 +9,25 @@
26.12.1999
*/
#include <geos.h>
void main (void)
{
/* Let's show what we've got... */
// Let's show what we've got...
DlgBoxOk(CBOLDON "Hello, world" CPLAINTEXT,
"This is written in C!");
/* 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;
*/
// 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;
return;
}