about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/kilo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kilo.c b/src/kilo.c
index 04c339e..72fc23b 100644
--- a/src/kilo.c
+++ b/src/kilo.c
@@ -642,7 +642,7 @@ static int editorSaveToDisk(void) {
     close(fd);
     free(buf);
     E.dirty = 0;
-    editorSetStatusMessage("%d bytes written on disk", len);
+    memset(E.statusmsg, '\0', 80);
     return 0;
 
 writeerr: