diff options
author | Simon Howard | 2006-09-09 19:11:05 +0000 |
---|---|---|
committer | Simon Howard | 2006-09-09 19:11:05 +0000 |
commit | fb5f3408beef89872cbc2c51b5ce5e594e119031 (patch) | |
tree | 58a656b20fd078a5f82208668d4ddb6a8d2197a2 | |
parent | 49b5380150354db8d9ec7be93964af0a0ca53e16 (diff) | |
download | chocolate-doom-fb5f3408beef89872cbc2c51b5ce5e594e119031.tar.gz chocolate-doom-fb5f3408beef89872cbc2c51b5ce5e594e119031.tar.bz2 chocolate-doom-fb5f3408beef89872cbc2c51b5ce5e594e119031.zip |
Add command line arguments to main() in textscreen examples.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 602
-rw-r--r-- | textscreen/examples/calculator.c | 2 | ||||
-rw-r--r-- | textscreen/examples/guitest.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/textscreen/examples/calculator.c b/textscreen/examples/calculator.c index af4cb3d4..0c416f7c 100644 --- a/textscreen/examples/calculator.c +++ b/textscreen/examples/calculator.c @@ -148,7 +148,7 @@ void BuildGUI() UpdateInputBox(); } -int main() +int main(int argc, char *argv[]) { TXT_Init(); TXT_SetDesktopTitle("Calculator demo"); diff --git a/textscreen/examples/guitest.c b/textscreen/examples/guitest.c index f3d27582..9c96e2e5 100644 --- a/textscreen/examples/guitest.c +++ b/textscreen/examples/guitest.c @@ -178,7 +178,7 @@ void DrawASCIIChart() } } -int main() +int main(int argc, char *argv[]) { TXT_Init(); |