NO-OP: whitespace
This commit is contained in:
parent
a0b5616c85
commit
02c698ed85
@ -1343,7 +1343,7 @@ void
|
||||
PluginManager::load_statuses ()
|
||||
{
|
||||
std::string path;
|
||||
find_file (plugin_metadata_search_path(), "plugin_statuses", path); //note: if no user folder is found, this will find the resources path
|
||||
find_file (plugin_metadata_search_path(), "plugin_statuses", path); // note: if no user folder is found, this will find the resources path
|
||||
gchar *fbuf = NULL;
|
||||
if (!g_file_get_contents (path.c_str(), &fbuf, NULL, NULL)) {
|
||||
return;
|
||||
@ -1369,7 +1369,6 @@ PluginManager::load_statuses ()
|
||||
ifs >> sstatus;
|
||||
if (!ifs) {
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
/* rest of the line is the plugin ID */
|
||||
@ -1386,8 +1385,7 @@ PluginManager::load_statuses ()
|
||||
} else if (sstatus == "Hidden") {
|
||||
status = Hidden;
|
||||
} else {
|
||||
error << string_compose (_("unknown plugin status type \"%1\" - all entries ignored"), sstatus)
|
||||
<< endmsg;
|
||||
error << string_compose (_("unknown plugin status type \"%1\" - all entries ignored"), sstatus) << endmsg;
|
||||
statuses.clear ();
|
||||
break;
|
||||
}
|
||||
@ -1523,7 +1521,7 @@ PluginManager::save_plugin_order_file (XMLNode &elem) const
|
||||
if (!tree.write (path)) {
|
||||
error << string_compose (_("Could not save Plugin Order info to %1"), path) << endmsg;
|
||||
}
|
||||
tree.set_root (0); //note: must disconnect the elem from XMLTree, or it will try to delete memory it didn't allocate
|
||||
tree.set_root (0); // note: must disconnect the elem from XMLTree, or it will try to delete memory it didn't allocate
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user