Fix some capitalisation in the preferences dialog.
[ardour.git] / libs / pbd / debug.cc
index 51d4d1e8714f0f6dddc43caa9d01f50c6a3e0dec..f967061c25ded61485f813c6abe2df09c79c4211 100644 (file)
@@ -49,6 +49,7 @@ uint64_t PBD::DEBUG::FileManager = PBD::new_debug_bit ("filemanager");
 uint64_t PBD::DEBUG::Pool = PBD::new_debug_bit ("pool");
 uint64_t PBD::DEBUG::EventLoop = PBD::new_debug_bit ("eventloop");
 uint64_t PBD::DEBUG::AbstractUI = PBD::new_debug_bit ("abstractui");
+uint64_t PBD::DEBUG::FileUtils = PBD::new_debug_bit ("fileutils");
 
 uint64_t PBD::debug_bits = 0x0;
 
@@ -77,9 +78,10 @@ PBD::set_debug_bits (uint64_t bits)
 int
 PBD::parse_debug_options (const char* str)
 {
+       string in_str = str;
        typedef boost::tokenizer<boost::char_separator<char> > tokenizer;
        boost::char_separator<char> sep (",");
-       tokenizer tokens (string(str), sep);
+       tokenizer tokens (in_str, sep);
        uint64_t bits = 0;
 
        for (tokenizer::iterator tok_iter = tokens.begin(); tok_iter != tokens.end(); ++tok_iter) {