From fb5f3408beef89872cbc2c51b5ce5e594e119031 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 9 Sep 2006 19:11:05 +0000 Subject: Add command line arguments to main() in textscreen examples. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 602 --- textscreen/examples/calculator.c | 2 +- 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(); -- cgit v1.2.3