summaryrefslogtreecommitdiff
path: root/textscreen
diff options
context:
space:
mode:
authorSimon Howard2006-09-25 23:09:32 +0000
committerSimon Howard2006-09-25 23:09:32 +0000
commit84e1b1ac112714d920fa9a2d45728d4c7865c4e3 (patch)
tree5b21caae21719424d780071aa517eab34db0db60 /textscreen
parent0a461d9449ac223b6d91a700a7efe21505ad6376 (diff)
downloadchocolate-doom-84e1b1ac112714d920fa9a2d45728d4c7865c4e3.tar.gz
chocolate-doom-84e1b1ac112714d920fa9a2d45728d4c7865c4e3.tar.bz2
chocolate-doom-84e1b1ac112714d920fa9a2d45728d4c7865c4e3.zip
Make examples call TXT_Shutdown before quit.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 669
Diffstat (limited to 'textscreen')
-rw-r--r--textscreen/examples/calculator.c2
-rw-r--r--textscreen/examples/guitest.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/textscreen/examples/calculator.c b/textscreen/examples/calculator.c
index 79f8b6ee..e9ed1bf7 100644
--- a/textscreen/examples/calculator.c
+++ b/textscreen/examples/calculator.c
@@ -159,6 +159,8 @@ int main(int argc, char *argv[])
TXT_GUIMainLoop();
+ TXT_Shutdown();
+
return 0;
}
diff --git a/textscreen/examples/guitest.c b/textscreen/examples/guitest.c
index 130c858f..d3cce119 100644
--- a/textscreen/examples/guitest.c
+++ b/textscreen/examples/guitest.c
@@ -172,6 +172,8 @@ int main(int argc, char *argv[])
TXT_GUIMainLoop();
+ TXT_Shutdown();
+
return 0;
}