From 59ba28e7607d7d2d5d2f7a59f026d4edfa7c1242 Mon Sep 17 00:00:00 2001 From: Michele Bini Date: Thu, 21 Apr 2022 07:47:18 +0200 Subject: Omit filename from status bar if not provided diff --git a/nanobox.c b/nanobox.c index 50fcfa8..781ff4b 100644 --- a/nanobox.c +++ b/nanobox.c @@ -2519,7 +2519,7 @@ static int format_edit_status(void) " %ld" #endif " ^X=Exit ^O=Save ^W=Search ^K=Cut ^U=Paste M-u=Undo", - (current_filename != NULL ? current_filename : "No file"), + (current_filename != NULL ? current_filename : ""), #if ENABLE_FEATURE_NANO_READONLY (readonly_mode ? " [Readonly]" : ""), #endif -- cgit v0.10.2