Package: lilypond / 2.19.83-1~exp1

0003-Fix-the-SRFI-60-copy-bit-documentation.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 45f900bd1974431bbae64538e0994290d051a5a2 Mon Sep 17 00:00:00 2001
From: Rob Browning <rlb@defaultvalue.org>
Date: Sat, 23 Apr 2011 14:57:49 -0500
Subject: Fix the SRFI 60 copy-bit documentation.

---
 srfi/srfi-60.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/guile18/srfi/srfi-60.c
+++ b/guile18/srfi/srfi-60.c
@@ -63,7 +63,7 @@
 
 
 SCM_DEFINE (scm_srfi60_copy_bit, "copy-bit", 3, 0, 0,
-            (SCM index, SCM n, SCM bit),
+            (SCM index, SCM n, SCM newbit),
 	    "Return @var{n} with the bit at @var{index} set according to\n"
 	    "@var{newbit}.  @var{newbit} should be @code{#t} to set the bit\n"
 	    "to 1, or @code{#f} to set it to 0.  Bits other than at\n"
@@ -79,7 +79,7 @@
   int bb;
 
   ii = scm_to_ulong (index);
-  bb = scm_to_bool (bit);
+  bb = scm_to_bool (newbit);
 
   if (SCM_I_INUMP (n))
     {