From 417d513df0540e3f3e74ae0bf404b5146f929975 Mon Sep 17 00:00:00 2001 From: GrenderG Date: Fri, 18 Oct 2019 17:08:46 +0200 Subject: [PATCH] Updated message. --- main.py | 0 tte.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 main.py diff --git a/main.py b/main.py new file mode 100644 index 0000000..e69de29 diff --git a/tte.c b/tte.c index fb7e4de..11d02a1 100644 --- a/tte.c +++ b/tte.c @@ -1330,7 +1330,7 @@ void editorDrawWelcomeMessage(struct a_buf* ab) { // Using snprintf to truncate message in case the terminal // is too tiny to handle the entire string. int welcome_len = snprintf(welcome, sizeof(welcome), - "tte %s ", TTE_VERSION); + "tte %s ", TTE_VERSION); if (welcome_len > ec.screen_cols) welcome_len = ec.screen_cols; // Centering the message.