work around bug or feature of string_compose()
authorRobin Gareus <robin@gareus.org>
Thu, 17 Sep 2015 18:51:11 +0000 (20:51 +0200)
committerRobin Gareus <robin@gareus.org>
Thu, 17 Sep 2015 18:51:11 +0000 (20:51 +0200)
string_compose("x%1x x%2x x%3x", "A", "", "C")
-> "xAx xCx xx"
and not
-> "xAx xx xCx"

gtk2_ardour/about.cc

index 1288fc599ce5e726d722fd39f4a5d42bfceff178..051b13f575ba2a6d3d7743eec78b3ecabf40b34e 100644 (file)
@@ -605,7 +605,7 @@ About::About ()
 #endif
        std::string codename = CODENAME;
        if (ARDOUR::Profile->get_mixbus() || ARDOUR::Profile->get_trx()) {
-               codename = "";
+               codename = " ";
        }
 
        set_translator_credits (t);