summaryrefslogtreecommitdiff
path: root/plugingui/pluginconfig.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/pluginconfig.cc')
-rw-r--r--plugingui/pluginconfig.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugingui/pluginconfig.cc b/plugingui/pluginconfig.cc
index 1ce1e66..d129414 100644
--- a/plugingui/pluginconfig.cc
+++ b/plugingui/pluginconfig.cc
@@ -63,7 +63,7 @@ Config::~Config()
}
-FILE* openFilePtr(std::string mode) {
+static FILE* openFilePtr(std::string mode) {
#ifdef WIN32
std::string configpath = ".";
TCHAR szPath[256];
@@ -135,6 +135,8 @@ void Config::load()
void Config::save()
{
+ DEBUG(pluginconfig, "Saving configuration...\n");
+
FILE *fp = openFilePtr("w");
if(!fp) return;