summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Bini <rev@alienbuntu.local>2019-04-20 00:09:52 (GMT)
committerMichele Bini <rev@alienbuntu.local>2019-04-20 00:09:52 (GMT)
commit8d1afb7766c948c58d45333888a5f99477038167 (patch)
tree7456dfab3210743d3225f45b5b7b41a4a7f7d1f2
parent3567ae383ea8d19f054ba138c8250446cc4a8bb1 (diff)
Modified: .gitignore
M Makefile Modified: nanobox.c
-rw-r--r--.gitignore1
-rw-r--r--Makefile2
-rw-r--r--nanobox.c2
3 files changed, 4 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 3814265..c14e223 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
nanobox
+*.git
diff --git a/Makefile b/Makefile
index a9419d8..23c3658 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,4 @@
CFLAGS = -DENABLE_FEATURE_VERBOSE=0
+%: %.c
+ tcc $^ -o $@
nanobox: full_write.c read.c read_key.c safe_poll.c safe_write.c verror_msg.c bboxfix.c nanobox.c
diff --git a/nanobox.c b/nanobox.c
index 38125d8..3254329 100644
--- a/nanobox.c
+++ b/nanobox.c
@@ -2371,7 +2371,7 @@ static int format_edit_status(void)
#if 0
" %ld"
#endif
- " ^X=Exit ^O=Save ^W=Search ^K=Cut ^U=Paste M-u Undo",
+ " ^X=Exit ^O=Save ^W=Search ^K=Cut ^U=Paste M-u=Undo",
(current_filename != NULL ? current_filename : "No file"),
#if ENABLE_FEATURE_NANO_READONLY
(readonly_mode ? " [Readonly]" : ""),