From c115e7ac368dc9eb7fbebd24718e6ff2461a9ece Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Wed, 22 Aug 2007 11:16:05 +0200 Subject: [PATCH] Fix warning from blob_read returning pointer instead of bool --- tig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tig.c b/tig.c index 420a13b..82dbd23 100644 --- 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 = { -- 2.11.0