]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/std-string.cc
Yaffut update.
[lilypond.git] / flower / std-string.cc
index 4069278cb20d35fc2cd5b15cc0e5b0ec25c86df8..b78b0196616aa1adde6f46b9ab64df379b523ed5 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2006  Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 2006--2007  Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #include "std-string.hh"
@@ -106,8 +106,9 @@ string_compare (string const &a, string const &b)
 vector<string>
 string_split (string str, char c)
 {
-  vector<string> a;
   ssize i = str.find (c);
+
+  vector<string> a;
   while (i != NPOS)
     {
       string s = str.substr (0, i);