chiark
/
gitweb
/
~mdw
/
tig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d0cea5f
)
Only pass on properies with non-zero length names
author
Jonas Fonseca
<fonseca@diku.dk>
Wed, 24 May 2006 22:41:53 +0000
(
00:41
+0200)
committer
Jonas Fonseca
<fonseca@antimatter.localdomain>
Wed, 24 May 2006 22:41:53 +0000
(
00:41
+0200)
tig.c
patch
|
blob
|
blame
|
history
diff --git
a/tig.c
b/tig.c
index 4770e72a3d35f65e23adac1c41c2c1cb00011d64..f931e1d229c3e185caad4449bf5b66ed72462657 100644
(file)
--- a/
tig.c
+++ b/
tig.c
@@
-1621,8
+1621,8
@@
pager_enter(struct view *view, struct line *line)
scroll_view(view, REQ_SCROLL_LINE_DOWN);
/* FIXME: A minor workaround. Scrolling the view will call report("")
scroll_view(view, REQ_SCROLL_LINE_DOWN);
/* FIXME: A minor workaround. Scrolling the view will call report("")
- * but if we are sc
olling a non-current view this won't properly update
- * the view title. */
+ * but if we are sc
rolling a non-current view this won't properly
+ *
update
the view title. */
if (split)
update_view_title(view);
if (split)
update_view_title(view);
@@
-2426,7
+2426,8
@@
read_properties(const char *cmd, int separator,
valuelen = 0;
}
valuelen = 0;
}
- state = read_property(name, namelen, value, valuelen);
+ if (namelen)
+ state = read_property(name, namelen, value, valuelen);
}
if (state != ERR && ferror(pipe))
}
if (state != ERR && ferror(pipe))