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,4 +1,3 @@
/*
This is an example program for GEOS.
It reads GEOS serial number and prints it on the screen.
@@ -7,14 +6,16 @@
05.03.2004
*/
#include <stdlib.h>
#include <geos.h>
#include <conio.h>
const graphicStr Table = {
NEWPATTERN(0), MOVEPENTO(0,0), RECTANGLETO(320,199), GSTR_END };
NEWPATTERN(0), MOVEPENTO(0, 0), RECTANGLETO(320, 199), GSTR_END };
void Exit(void) {
void Exit(void)
{
exit(0);
}
@@ -22,16 +23,17 @@ void Menu = {
(char)0, (char)14, (int)0, (int)28, (char)(HORIZONTAL|1),
CBOLDON "quit", (char)MENU_ACTION, &Exit };
int main(void) {
int main(void)
{
dispBufferOn = ST_WR_FORE;
GraphicsString(&Table);
cputsxy(0,3,CBOLDON "Your Serial Number is:");
cputsxy(0, 3, CBOLDON "Your Serial Number is:");
cputhex16(GetSerialNumber());
DoMenu(&Menu);
MainLoop();
// will never reach this point...
return 0;
}