]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/text-interface.cc
Fetch Esperanto, French and German POs from TP
[lilypond.git] / lily / text-interface.cc
index c51e925b9d9690cb51c03e0a47b5e46215e279c9..cd906c2e8eb7f791c58f522ea2a74415f27e8423 100644 (file)
@@ -50,15 +50,15 @@ replace_special_characters (string &str, SCM props)
     {
       /* Don't match in mid-UTF-8 */
       if ((str[i] & 0xc0) == 0x80)
-       continue;
+        continue;
       for (vsize j = max_length + 1; j--;)
         {
-         if (j > str.size () - i)
-           continue;
+          if (j > str.size () - i)
+            continue;
           string dummy = str.substr (i, j);
           SCM ligature = ly_assoc_get (ly_string2scm (dummy),
-                                      replacement_alist, SCM_BOOL_F);
-         if (scm_is_true (ligature))
+                                       replacement_alist, SCM_BOOL_F);
+          if (scm_is_true (ligature))
             str.replace (i, j, robust_scm2string (ligature, ""));
         }
     }
@@ -151,7 +151,7 @@ Text_interface::interpret_markup (SCM layout_smob, SCM props, SCM markup)
     }
   else
     {
-      programming_error ("Object is not a markup. ");
+      programming_error ("Object is not a markup.");
       scm_puts ("This object should be a markup: ", scm_current_error_port ());
       scm_display (markup, scm_current_error_port ());
       scm_puts ("\n", scm_current_error_port ());