aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-11-08 14:33:09 +0100
committerMarc André Tanner <mat@brain-dump.org>2015-11-08 14:33:09 +0100
commit3f9c4e5ae437f2ecfe71fa40de0ff8209259c572 (patch)
tree64944c1f3d53abc3a47fa3debc3f8c3b0e5c470f /vis.c
parent994d420af7313121bf90a6ea40a3e8e0f240c88e (diff)
downloadvis-3f9c4e5ae437f2ecfe71fa40de0ff8209259c572.tar.gz
vis-3f9c4e5ae437f2ecfe71fa40de0ff8209259c572.tar.xz
Remove trailing white space from source files
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vis.c b/vis.c
index 31e4ecf..0001501 100644
--- a/vis.c
+++ b/vis.c
@@ -67,10 +67,10 @@ static void file_free(Vis *vis, File *file) {
return;
if (--file->refcount > 0)
return;
-
+
text_free(file->text);
free((char*)file->name);
-
+
if (file->prev)
file->prev->next = file->next;
if (file->next)
@@ -111,7 +111,7 @@ static File *file_new(Vis *vis, const char *filename) {
text = text_load(NULL);
if (!text)
return NULL;
-
+
File *file = file_new_text(vis, text);
if (!file) {
text_free(text);
@@ -748,7 +748,7 @@ static const char *vis_keys_raw(Vis *vis, Buffer *buf, const char *input) {
char *keys = buf->data, *start = keys, *cur = keys, *end;
bool prefix = false;
KeyBinding *binding = NULL;
-
+
while (cur && *cur) {
if (!(end = (char*)vis_keys_next(vis, cur)))