summaryrefslogtreecommitdiff
path: root/ted-base.c
diff options
context:
space:
mode:
Diffstat (limited to 'ted-base.c')
-rw-r--r--ted-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ted-base.c b/ted-base.c
index 4cc1bee..8b0ab07 100644
--- a/ted-base.c
+++ b/ted-base.c
@@ -148,7 +148,7 @@ static void ted_new_file(Ted *ted) {
arr_add(node->tabs, (u16)new_buffer_index);
TextBuffer *new_buffer = &ted->buffers[new_buffer_index];
if (node->tabs) {
- buffer_new_file(new_buffer, "Untitled");
+ buffer_new_file(new_buffer, TED_UNTITLED);
if (!buffer_haserr(new_buffer)) {
ted->active_buffer = new_buffer;
node->active_tab = (u16)(arr_len(node->tabs) - 1);