diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-04-21 05:47:18 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-04-21 05:47:28 (GMT) |
| commit | 59ba28e7607d7d2d5d2f7a59f026d4edfa7c1242 (patch) | |
| tree | 9e7bb671e637396d3c0c8d894c0425b2d61b3f28 | |
| parent | 973dc4056b74b26635f3fe8d9e23835c05cdfd12 (diff) | |
Omit filename from status bar if not provided
| -rw-r--r-- | nanobox.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
