commit 84e1b1ac112714d920fa9a2d45728d4c7865c4e3
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Mon Sep 25 23:09:32 2006 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Mon Sep 25 23:09:32 2006 +0000
Make examples call TXT_Shutdown before quit.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 669
---
textscreen/examples/calculator.c | 2 ++
textscreen/examples/guitest.c | 2 ++
2 files changed, 4 insertions(+)
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;
}