diff options
author | anbr <vdr07@deltab.de> | 2011-10-02 22:11:16 +0200 |
---|---|---|
committer | anbr <vdr07@deltab.de> | 2011-10-02 22:11:16 +0200 |
commit | c92ba1c907240415fd7caab5b757bbdeb73efc17 (patch) | |
tree | 9bef5cd3ec95b8888140a21e8ba9195e10984de9 /exif.c | |
parent | 75d0527ba553b9ad76a4093001aaa1ec1495593e (diff) | |
download | vdr-plugin-image-c92ba1c907240415fd7caab5b757bbdeb73efc17.tar.gz vdr-plugin-image-c92ba1c907240415fd7caab5b757bbdeb73efc17.tar.bz2 |
Migrated from vdr-image.berlios.de to projects.vdr-developer.org
Diffstat (limited to 'exif.c')
-rw-r--r-- | exif.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -1,7 +1,7 @@ /* * Image plugin to VDR (C++) * - * (C) 2006-2008 Andreas Brachold <anbr at users.berlios.de> + * (C) 2006-2011 Andreas Brachold <vdr07 at deltab.de> * * This code is distributed under the terms and conditions of the * GNU GENERAL PUBLIC LICENSE. See the file COPYING for details. @@ -103,14 +103,10 @@ cImageMenuExif::cImageMenuExif(const char *szFileName) eOSState cImageMenuExif::ProcessKey(eKeys nKey) { - switch (nKey) { - case kUp|k_Repeat: + switch (nKey & ~k_Repeat) { case kUp: - case kDown|k_Repeat: case kDown: - case kLeft|k_Repeat: case kLeft: - case kRight|k_Repeat: case kRight: DisplayMenu()->Scroll(NORMALKEY(nKey) == kUp || NORMALKEY(nKey) == kLeft, NORMALKEY(nKey) == kLeft || NORMALKEY(nKey) == kRight); return osContinue; |