commit 37b2ebc22ddc76becac577fef7d7d90c4dd3d115
parent 0cf805e572d810cac96c051e09197c005460daa9
Author: Dimitris Zervas <dzervas@dzervas.gr>
Date: Sat, 12 Jul 2014 18:33:24 +0300
Fixed minor typo
Diffstat:
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/sandy.c b/sandy.c
@@ -1571,13 +1571,12 @@ i_update(void) {
else {
statusflags&=~S_Warned; /* Reset warning */
snprintf(buf, 4, "%ld%%", (100*ncur)/nlst);
+ snprintf(title, BUFSIZ, "%s%s [%s]%s%s%s%s %ld,%d %s",
+ t_vis()?"Visual ":
#if VIM_BINDINGS
- snprintf(title, BUFSIZ, "%s %s [%s]%s%s%s%s %ld,%d %s",
- t_vis()?
- "Visual":
- (t_nocomm()?"Insert":"Command"),
+ (t_nocomm()?"Insert ":"Command "),
#else
- snprintf(title, BUFSIZ, "%s [%s]%s%s%s%s %ld,%d %s",
+ "",
#endif
(statusflags&S_DumpStdout?"<Stdout>":(filename == NULL?"<No file>":filename)),
(syntx>=0 ? syntaxes[syntx].name : "none"),