a few more if (_mmc) tests
[ardour.git] / libs / ardour / rc_configuration.cc
index 4c9e35924a7d32f42257e8a1e2a5f09267dfe611..d503fb35039f9cc2dc8077c2b8aae91b1ea73d70 100644 (file)
@@ -172,7 +172,7 @@ RCConfiguration::save_state()
        const string rcfile = rcfile_path.to_string();
 
        // this test seems bogus?
-       if (rcfile.length()) {
+       if (!rcfile.empty()) {
                XMLTree tree;
                tree.set_root (&get_state());
                if (!tree.write (rcfile.c_str())){