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 757febd5664bc013d3568d5faec50e4f8de74de8 (commit) via 55a42a3b2e7dedc7c26c2db9a5333904a601f13c (commit) from f4a9af195d3e128c3752825a1b568d32f9c1bfc8 (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/757febd5664bc013d3568d5faec50e4f8de74...
commit 757febd5664bc013d3568d5faec50e4f8de74de8 Author: Cyril Hrubis metan@ucw.cz Date: Sat Nov 23 11:06:01 2013 +0100
spiv: Fix help for arrow keys.
It's 10px by default and 1px with shift not the other way around.
Reported-by: Milan Vancura milan@ucw.cz Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/demos/spiv/spiv_help.c b/demos/spiv/spiv_help.c index b3d25da..72be0bc 100644 --- a/demos/spiv/spiv_help.c +++ b/demos/spiv/spiv_help.c @@ -64,10 +64,10 @@ static struct key_help help_keys[] = { {"Shift 2", "Resize twice of the image size"}, {"Shift 3", "Resize three times of the image size"}, {"...", ""}, - {"Up", "Move image by 1px up (by 10 with Shift)"}, - {"Down", "Move image by 1px down (by 10 with Shift)"}, - {"Left", "Move image by 1px left (by 10 with Shift)"}, - {"Right", "Move image by 1px right (by 10 with Shift)"}, + {"Up", "Move image by 10px up (by 1 with Shift)"}, + {"Down", "Move image by 10px down (by 1 with Shift)"}, + {"Left", "Move image by 10px left (by 1 with Shift)"}, + {"Right", "Move image by 10px right (by 1 with Shift)"}, {"", ""}, {"]", "Change to next resampling method"}, {"[", "Change to prev resampling method"},
http://repo.or.cz/w/gfxprim.git/commit/55a42a3b2e7dedc7c26c2db9a5333904a601f...
commit 55a42a3b2e7dedc7c26c2db9a5333904a601f13c Author: Cyril Hrubis metan@ucw.cz Date: Mon Nov 18 20:19:47 2013 +0100
spiv: Fix action index in image_action_run().
Action parameters are indexed from one not zero.
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/demos/spiv/spiv.c b/demos/spiv/spiv.c index 428e5ea..74a45a4 100644 --- a/demos/spiv/spiv.c +++ b/demos/spiv/spiv.c @@ -1016,7 +1016,7 @@ int main(int argc, char *argv[]) zoom_mul(¶ms, 1/1.5); break; case GP_KEY_F1 ... GP_KEY_F10: - image_action_run(ev.val.key.key - GP_KEY_F1, + image_action_run(ev.val.key.key - GP_KEY_F1 + 1, image_loader_img_path()); break; }
-----------------------------------------------------------------------
Summary of changes: demos/spiv/spiv.c | 2 +- demos/spiv/spiv_help.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 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.