X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMain.cc;h=fc84ceb38fcc3171743faec7eeca3a6c750f7f78;hp=7b31ae4f83283ccbf65a91fe32e9e999f65ea626;hb=90b2c7fb10b244b781b84965a0d36f1f323ee94d;hpb=8148b51f1bec8f662672d3ca36eea1784991e5cc diff --git a/src/Main.cc b/src/Main.cc index 7b31ae4..fc84ceb 100644 --- a/src/Main.cc +++ b/src/Main.cc @@ -128,7 +128,8 @@ std::string Main::getConfigPath() // 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";