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:
b33611d
)
Fix warning from blob_read returning pointer instead of bool
author
Jonas Fonseca
<fonseca@diku.dk>
Wed, 22 Aug 2007 09:16:05 +0000
(11:16 +0200)
committer
Jonas Fonseca
<fonseca@diku.dk>
Wed, 22 Aug 2007 09:16:05 +0000
(11:16 +0200)
tig.c
patch
|
blob
|
blame
|
history
diff --git
a/tig.c
b/tig.c
index 420a13b886afbcae5bd29676a2ef34c9bca7d96b..82dbd23e7c01831d62549d5852c0c27540a77867 100644
(file)
--- a/
tig.c
+++ b/
tig.c
@@
-2876,7
+2876,7
@@
static struct view_ops tree_ops = {
static bool
blob_read(struct view *view, char *line)
{
- return add_line_text(view, line, LINE_DEFAULT);
+ return add_line_text(view, line, LINE_DEFAULT)
!= NULL
;
}
static struct view_ops blob_ops = {