summaryrefslogtreecommitdiff
path: root/snd-prefs.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>2016-06-27 21:22:00 +0200
committerIOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>2016-06-27 21:22:00 +0200
commit3eb3c4d013403119c639870bf55d61e3456c1078 (patch)
tree959cbf5ce662539ff3284e3360fd92e4b78b57d3 /snd-prefs.c
parent248790aca5d5b6dc9a8edeea1abed0195ac1338e (diff)
Imported Upstream version 16.6
Diffstat (limited to 'snd-prefs.c')
-rw-r--r--snd-prefs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/snd-prefs.c b/snd-prefs.c
index 309d391..f892f61 100644
--- a/snd-prefs.c
+++ b/snd-prefs.c
@@ -4054,7 +4054,7 @@ static char *make_show_all(char *key, bool ctrl, bool meta, bool cx)
#if HAVE_SCHEME
return(mus_format("(bind-key %s %d (lambda () \
(let ((old-sync (sync))) \
- (set! (sync) (1+ (sync-max))) \
+ (set! (sync) (+ (sync-max) 1)) \
(set! (x-bounds) (list 0.0 (/ (framples) (srate)))) \
(set! (sync) old-sync))) %s \"show entire sound\" \"show-all\")\n",
possibly_quote(key),
@@ -4125,7 +4125,7 @@ static char *make_select_all(char *key, bool ctrl, bool meta, bool cx)
#if HAVE_SCHEME
return(mus_format("(bind-key %s %d (lambda () \
(let ((old-sync (sync))) \
- (set! (sync) (1+ (sync-max))) \
+ (set! (sync) (+ (sync-max) 1)) \
(select-all) \
(set! (sync) old-sync))) %s \"select entire sound\" \"select-all\")\n",
possibly_quote(key),