aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fm.c b/fm.c
index c5c5b30..f6a7bfd 100644
--- a/fm.c
+++ b/fm.c
@@ -198,9 +198,8 @@ static char *fm_print_preview_content(window *w, const char *path)
}
free(buf);
- return buf;
}
-static void *fm_preview_file(fm_info *i)
+static void fm_preview_file(fm_info *i)
{
wclear(i->fm_r->win);
char *path = xmalloc(sizeof(char) * PATH_MAX);