summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.c b/main.c
index 526eeb2..8fa816c 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,6 @@
/*
+TODO:
+- clean up valgrind_suppresions.txt
FUTURE FEATURES:
- autodetect indentation (tabs vs spaces)
- font setting & support for multiple fonts to cover more characters
@@ -1214,8 +1216,7 @@ int main(int argc, char **argv) {
buffer_free(&ted->replace_buffer);
buffer_free(&ted->build_buffer);
buffer_free(&ted->argument_buffer);
- text_font_free(ted->font);
- text_font_free(ted->font_bold);
+ ted_free_fonts(ted);
config_free(ted);
macros_free(ted);
free(ted);