This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, master has been updated via c5d73272e61f6d7a05a971d02480660c388bfdd2 (commit) from bf32d686502d8dbe4dd7474250de61aca595cb4a (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/c5d73272e61f6d7a05a971d02480660c388bf...
commit c5d73272e61f6d7a05a971d02480660c388bfdd2 Author: Cyril Hrubis metan@ucw.cz Date: Sun Apr 21 23:56:39 2013 +0200
spiv: image_list: Fix order on img_prev()
Now we go backwards in directories too.
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/demos/spiv/image_list.c b/demos/spiv/image_list.c index fd35669..d015a21 100644 --- a/demos/spiv/image_list.c +++ b/demos/spiv/image_list.c @@ -152,6 +152,7 @@ static void prev_img(struct image_list *self) } }
+ /* If we are at first image -> wrap around argv */ if (self->cur_arg == 0) self->cur_arg = self->max_arg - 1; else @@ -159,6 +160,10 @@ static void prev_img(struct image_list *self)
try_load_dir(self);
+ /* if in directory, select last image in it */ + if (self->in_dir) + self->cur_file = self->max_file - 1; + self->path_loaded = 0; }
-----------------------------------------------------------------------
Summary of changes: demos/spiv/image_list.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.