Fix method hiding in Canvas::Text
[ardour.git] / gtk2_ardour / ui_config.cc
index 8021d3dc9e743c7d44ff582d9d7acdbbeae5ed9c..1040c546ed89095495c15997295b791cbd26fc00 100644 (file)
@@ -240,7 +240,7 @@ int
 UIConfiguration::store_color_theme ()
 {
        XMLNode* root;
-       LocaleGuard lg (X_("POSIX"));
+       LocaleGuard lg (X_("C"));
 
        root = new XMLNode("Ardour");
 
@@ -375,7 +375,7 @@ XMLNode&
 UIConfiguration::get_state ()
 {
        XMLNode* root;
-       LocaleGuard lg (X_("POSIX"));
+       LocaleGuard lg (X_("C"));
 
        root = new XMLNode("Ardour");
 
@@ -393,7 +393,7 @@ XMLNode&
 UIConfiguration::get_variables (std::string which_node)
 {
        XMLNode* node;
-       LocaleGuard lg (X_("POSIX"));
+       LocaleGuard lg (X_("C"));
 
        node = new XMLNode (which_node);
 
@@ -497,7 +497,7 @@ UIConfiguration::load_colors (XMLNode const & node)
 
                if (name && color) {
                        ArdourCanvas::Color c;
-                       c = strtol (color->value().c_str(), 0, 16);
+                       c = strtoul (color->value().c_str(), 0, 16);
                        colors.insert (make_pair (name->value(), c));
                }
        }
@@ -506,7 +506,7 @@ UIConfiguration::load_colors (XMLNode const & node)
 void
 UIConfiguration::load_modifiers (XMLNode const & node)
 {
-       PBD::LocaleGuard lg ("POSIX");
+       PBD::LocaleGuard lg ("C");
        XMLNodeList const nlist = node.children();
        XMLNodeConstIterator niter;
        XMLProperty const *name;