Normalized coding style.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5516 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
|
||||
/*
|
||||
|
||||
GEOSLib example
|
||||
|
||||
example of using DlgBoxYesNo, DlgBoxOkCancel and DlgBoxOk functions
|
||||
@@ -11,16 +9,16 @@
|
||||
26.12.1999
|
||||
*/
|
||||
|
||||
|
||||
#include <geos.h>
|
||||
|
||||
void main(void)
|
||||
{
|
||||
do {
|
||||
if (DlgBoxYesNo("Are you female?", "(don't lie ;-)") == YES) {
|
||||
DlgBoxOk("You claim to be woman!", "You wanna dance?");
|
||||
} else {
|
||||
DlgBoxOk("Ergh, another man...", "Let's go for a beer.");
|
||||
};
|
||||
} while (DlgBoxOkCancel("Do you want to try again?", "") == OK);
|
||||
|
||||
do {
|
||||
if (DlgBoxYesNo("Are you female?", "(don't lie ;-)") == YES) {
|
||||
DlgBoxOk("You claim to be woman!", "You wanna dance?");
|
||||
} else {
|
||||
DlgBoxOk("Ergh, another man...", "Let's go for a beer.");
|
||||
};
|
||||
} while (DlgBoxOkCancel("Do you want to try again?", "") == OK);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user