summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2010-09-10 23:49:30 +0200
committerDaniel Friesel <derf@finalrewind.org>2010-09-10 23:49:30 +0200
commit992c636fa1dd1c79271943a8b6cc3575423b798b (patch)
treee5f476cb80d9d747f5abeca7517d7dab04ca4114 /src
parent59742b2e0791402a88d1c1df397a8f843588b452 (diff)
imlib.c: Calculate correct window size
Diffstat (limited to 'src')
-rw-r--r--src/imlib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/imlib.c b/src/imlib.c
index 672d65d..2ff71d4 100644
--- a/src/imlib.c
+++ b/src/imlib.c
@@ -680,7 +680,6 @@ void feh_draw_info(winwidget w)
else {
while ((no_lines < 20) && fgets(info_buf, 256, info_pipe)) {
info_buf[strlen(info_buf)-1] = '\0';
- gib_imlib_get_text_size(fn, "w", NULL, &tw, &th, IMLIB_TEXT_TO_RIGHT);
gib_imlib_text_draw(im, fn, NULL, 2, (no_lines*th)+2, info_buf,
IMLIB_TEXT_TO_RIGHT, 0, 0, 0, 255);
gib_imlib_text_draw(im, fn, NULL, 1, (no_lines*th)+1, info_buf,