]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Settings.cc
destroyed global classes; view hierarchy instead
[chaz/yoink] / src / Moof / Settings.cc
index 94845c2b1380962352d6a86e80b034837efb1ad4..bc503c52a26f8064b86fe7d4529987b29b2ebe6c 100644 (file)
@@ -45,7 +45,7 @@ void Settings::loadFromFiles(const std::vector<std::string>& path)
        std::vector<std::string> copy(path);
        std::vector<std::string>::iterator it;
 
-#if defined(_WIN32) || defined(__WIN32__)
+#if defined(_WIN32)
        char* homeDrive = getenv("HOMEDRIVE");
        char* homePath = getenv("HOMEPATH");
        std::string home(homeDrive ? homeDrive : "");
@@ -96,8 +96,5 @@ void Settings::save() const
 }
 
 
-Settings settings;     // global instance
-
-
 } // namepsace Mf
 
This page took 0.019238 seconds and 4 git commands to generate.