]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lily-guile.cc
doc: add G clef change to Changes
[lilypond.git] / lily / lily-guile.cc
index 6035a91983303d6284e83d4660c4ada853ef7514..7985b35d90e850a9f67152f7a22e4d22e83bbc13 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1998--2011 Jan Nieuwenhuizen <janneke@gnu.org>
+  Copyright (C) 1998--2012 Jan Nieuwenhuizen <janneke@gnu.org>
   Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
@@ -570,9 +570,9 @@ robust_scm2vsize (SCM k, vsize o)
 {
   if (scm_integer_p (k) == SCM_BOOL_T)
     {
-      o = scm_to_int (k);
-      if (o >= 0)
-        return (vsize) o;
+      int i = scm_to_int (k);
+      if (i >= 0)
+        return (vsize) i;
     }
   return o;
 }