From 84e1b1ac112714d920fa9a2d45728d4c7865c4e3 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 25 Sep 2006 23:09:32 +0000 Subject: 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; } -- cgit v1.2.3