diff options
Diffstat (limited to 'PLUGINS/src/pictures/entry.c')
-rw-r--r-- | PLUGINS/src/pictures/entry.c | 7 |
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; |