Fix for blank (null) strings being saved for any color with an r value that contained...
authorDoug McLain <doug@nostar.net>
Tue, 26 Jun 2007 23:50:20 +0000 (23:50 +0000)
committerDoug McLain <doug@nostar.net>
Tue, 26 Jun 2007 23:50:20 +0000 (23:50 +0000)
git-svn-id: svn://localhost/ardour2/trunk@2037 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/ardour/configuration_variable.h

index 501673e968b9163ced152633105204e60a520a1a..ccf15df65aeab7c0daab500cadf89022d485748c 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <sstream>
 #include <ostream>
+#include <iostream>
 
 #include <pbd/xml++.h>
 
@@ -84,7 +85,7 @@ class ConfigVariable : public ConfigVariableBase
                std::stringstream ss;
                if (node.name() == "Canvas") {
                        ss << std::hex;
-                       ss.fill(0);
+                       ss.fill('0');
                        ss.width(8);
                }
                ss << value;