From 9b0c7368554c8196c755bed02a8861faed57cfbc Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Sat, 29 Jan 2011 16:30:58 +0300 Subject: [PATCH] find.c (search_content): type accuracy of return value. Signed-off-by: Andrew Borodin --- src/filemanager/find.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/filemanager/find.c b/src/filemanager/find.c index 91b66480f..1719ec79c 100644 --- a/src/filemanager/find.c +++ b/src/filemanager/find.c @@ -919,14 +919,14 @@ search_content (Dlg_head * h, const char *directory, const char *filename) if (mc_stat (fname, &s) != 0 || !S_ISREG (s.st_mode)) { g_free (fname); - return 0; + return FALSE; } file_fd = mc_open (fname, O_RDONLY); g_free (fname); if (file_fd == -1) - return 0; + return FALSE; g_snprintf (buffer, sizeof (buffer), _("Grepping in %s"), str_trunc (filename, FIND2_X_USE)); -- 2.11.4.GIT