summaryrefslogtreecommitdiff
path: root/PLUGINS/src/pictures/entry.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-01-19 11:21:32 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-01-19 11:21:32 +0100
commitb013f4ce83f2787c3d855716a1e81746c227df6f (patch)
tree2624e269e2a6551170879c0ca12f3c53a130cdd8 /PLUGINS/src/pictures/entry.c
parentdc0665ebf3c7c814f080e28dbd3b5b6b68c3b56e (diff)
downloadvdr-b013f4ce83f2787c3d855716a1e81746c227df6f.tar.gz
vdr-b013f4ce83f2787c3d855716a1e81746c227df6f.tar.bz2
Fixed the Play function in the pictures plugin
Diffstat (limited to 'PLUGINS/src/pictures/entry.c')
-rw-r--r--PLUGINS/src/pictures/entry.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/PLUGINS/src/pictures/entry.c b/PLUGINS/src/pictures/entry.c
index 85156558..e03858c9 100644
--- a/PLUGINS/src/pictures/entry.c
+++ b/PLUGINS/src/pictures/entry.c
@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: entry.c 1.1 2008/01/13 11:29:27 kls Exp $
+ * $Id: entry.c 1.2 2008/01/18 15:49:51 kls Exp $
*/
#include "entry.h"
@@ -138,6 +138,11 @@ const cPictureEntry *cPictureEntry::NextPicture(const cPictureEntry *This) const
return pe;
}
}
+ else if (IsDirectory()) {
+ const cPictureEntry *p = FirstPicture();
+ if (p)
+ return p;
+ }
if (parent)
return parent->NextPicture(this);
return NULL;