use C locale, because POSIX locale is not supported on windows, and operation is...
[ardour.git] / libs / ardour / plugin.cc
index 11d859ed8c81fe3558d5effcd200dfb5781b0e1f..a93dae9e0f8f68b1909430a29160ec71c0e5f88e 100644 (file)
@@ -264,7 +264,7 @@ Plugin::connect_and_run (BufferSet& bufs,
 
                /* Track notes that we are sending to the plugin */
 
-               MidiBuffer& b = bufs.get_midi (0);
+               const MidiBuffer& b = bufs.get_midi (0);
 
                _tracker.track (b.begin(), b.end());
 
@@ -389,7 +389,7 @@ XMLNode &
 Plugin::get_state ()
 {
        XMLNode* root = new XMLNode (state_node_name ());
-       LocaleGuard lg (X_("POSIX"));
+       LocaleGuard lg (X_("C"));
 
        root->add_property (X_("last-preset-uri"), _last_preset.uri);
        root->add_property (X_("last-preset-label"), _last_preset.label);