aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
author"John Hawthorn ext:(%22) <jhawthor@uvic.ca>2008-12-21 19:26:08 -0800
committer"John Hawthorn ext:(%22) <jhawthor@uvic.ca>2008-12-21 19:26:08 -0800
commit6f208d6c757e03784c768774dfa2fa568444877c (patch)
treefe4f056f804b51e640a28c0bfc0156902eeda786 /src/main.c
parentd9e9f33c3210b71c07c4268415ff9b1555819b3f (diff)
downloadmirror-meh-6f208d6c757e03784c768774dfa2fa568444877c.tar.gz
mirror-meh-6f208d6c757e03784c768774dfa2fa568444877c.tar.bz2
mirror-meh-6f208d6c757e03784c768774dfa2fa568444877c.zip
cleanup
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 99fedbb..872ec7a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -98,14 +98,14 @@ void handlekeypress(XEvent *event){
exit(0);
break;
case XK_Return:
- // puts(filename);
+ puts(images[imageidx]);
fflush(stdout);
break;
- case XK_t:
- case XK_n:
+ case XK_j:
+ case XK_k:
if(mode == MODE_CTL)
return;
- direction = key == XK_t ? nextimage : previmage;
+ direction = key == XK_j ? nextimage : previmage;
direction();
/* Pass through */
freeimage(img);