diff options
author | Bert <ber.t@gmx.com> | 2011-01-30 22:00:58 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-01-30 22:00:58 +0100 |
commit | 229830ad188fc520da56bfa8a3b8e0da3744c799 (patch) | |
tree | 172092091b6486bb592a2034724c4f7d5cf85d6c /image.c | |
parent | c937570bbe61985f632db2b9285232453a8b8ee5 (diff) |
Replace -w with well-known geometry option
Diffstat (limited to 'image.c')
-rw-r--r-- | image.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -254,11 +254,11 @@ int img_pan(img_t *img, win_t *win, pandir_t dir) { case PAN_LEFT: return img_move(img, win, win->w / 5, 0); case PAN_RIGHT: - return img_move(img, win, -win->w / 5, 0); + return img_move(img, win, win->w / 5 * -1, 0); case PAN_UP: return img_move(img, win, 0, win->h / 5); case PAN_DOWN: - return img_move(img, win, 0, -win->h / 5); + return img_move(img, win, 0, win->h / 5 * -1); } return 0; |