diff options
author | Daniel Friesel <derf@finalrewind.org> | 2010-09-10 23:49:30 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2010-09-10 23:49:30 +0200 |
commit | 992c636fa1dd1c79271943a8b6cc3575423b798b (patch) | |
tree | e5f476cb80d9d747f5abeca7517d7dab04ca4114 | |
parent | 59742b2e0791402a88d1c1df397a8f843588b452 (diff) |
imlib.c: Calculate correct window size
-rw-r--r-- | src/imlib.c | 1 |
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, |