]> Dogcows Code - chaz/yoink/blobdiff - src/Main.cc
bugfix: resource file searching was broken
[chaz/yoink] / src / Main.cc
index 7b31ae4f83283ccbf65a91fe32e9e999f65ea626..fc84ceb38fcc3171743faec7eeca3a6c750f7f78 100644 (file)
@@ -128,7 +128,8 @@ std::string Main::getConfigPath()
        // 3. $HOME/.yoinkrc
        // 4. YOINKRC (environment)
 
        // 3. $HOME/.yoinkrc
        // 4. YOINKRC (environment)
 
-       std::string path = Mf::Resource::getPath("yoinkrc");
+       std::string path("yoinkrc");
+       Mf::Resource::getPath(path);
 
 #if !defined(_WIN32)
        path += ":/etc/yoinkrc";
 
 #if !defined(_WIN32)
        path += ":/etc/yoinkrc";
This page took 0.018306 seconds and 4 git commands to generate.