summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}