diff options
author | Bert <ber.t@gmx.com> | 2011-01-21 12:13:52 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-01-21 12:13:52 +0100 |
commit | 629d37376d1c9b175a525e8c30f8d468996a3bd6 (patch) | |
tree | 7df76a1b9a505ac2a87bb788928bc12e03a0a981 /main.c | |
parent | 44921e07aaa36d553f2a4c81d7c431388b5c27e3 (diff) |
Merged img_display() into img_render()
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -93,7 +93,7 @@ int main(int argc, char **argv) { imlib_init(&win); img_load(&img, filenames[fileidx]); - img_display(&img, &win); + img_render(&img, &win); update_title(); run(); @@ -146,14 +146,14 @@ void on_keypress(XEvent *ev) { case 'n': if (fileidx + 1 < filecnt) { img_load(&img, filenames[++fileidx]); - img_display(&img, &win); + img_render(&img, &win); update_title(); } break; case 'p': if (fileidx > 0) { img_load(&img, filenames[--fileidx]); - img_display(&img, &win); + img_render(&img, &win); update_title(); } break; |