aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-01-21 12:13:52 +0100
committerBert <ber.t@gmx.com>2011-01-21 12:13:52 +0100
commit629d37376d1c9b175a525e8c30f8d468996a3bd6 (patch)
tree7df76a1b9a505ac2a87bb788928bc12e03a0a981 /main.c
parent44921e07aaa36d553f2a4c81d7c431388b5c27e3 (diff)
Merged img_display() into img_render()
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 5d9f7a1..e9a2970 100644
--- a/main.c
+++ b/main.c
@@ -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;