summaryrefslogtreecommitdiff
path: root/src/imlib.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-05-03 21:05:07 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-05-03 21:05:07 +0200
commit2d8476f5d9c6526340bd6f3925823712c33f55d0 (patch)
tree31e0c7d0cc0cdc6b6b6c73a3c2aaf206dd86f3ae /src/imlib.c
parent51802b3732716e02a719d2dbd86fbac109851b06 (diff)
Fix remaining compiler warnings (I probably won't implement these options anyways)
Diffstat (limited to 'src/imlib.c')
-rw-r--r--src/imlib.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/imlib.c b/src/imlib.c
index 099b132..1abd767 100644
--- a/src/imlib.c
+++ b/src/imlib.c
@@ -748,7 +748,7 @@ void feh_draw_caption(winwidget w)
D_RETURN_(4);
}
- lines = feh_wrap_string(file->caption, w->w, w->h, fn, NULL);
+ lines = feh_wrap_string(file->caption, w->w, fn, NULL);
if (!lines)
D_RETURN_(4);
@@ -870,9 +870,7 @@ void feh_edit_inplace_orient(winwidget w, int orientation)
D_RETURN_(4);
}
-/* TODO max_height is ignored... Could use a function which generates a
- * transparent text overlay image, with wrapping and all. Would be useful */
-gib_list *feh_wrap_string(char *text, int wrap_width, int max_height, Imlib_Font fn, gib_style * style)
+gib_list *feh_wrap_string(char *text, int wrap_width, Imlib_Font fn, gib_style * style)
{
gib_list *ll, *lines = NULL, *list = NULL, *words;
gib_list *l = NULL;