From c1428363799ce275b810060e84fc7ac9cb5765ad Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 5 Dec 2016 20:58:45 +0200 Subject: [PATCH] test --- src/komodo_utils.h | 4 ++-- src/util.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/komodo_utils.h b/src/komodo_utils.h index 3e53b79c9..15562669d 100644 --- a/src/komodo_utils.h +++ b/src/komodo_utils.h @@ -1317,9 +1317,9 @@ void komodo_configfile(char *symbol,uint16_t port) sprintf(buf,"%s.conf",symbol); BITCOIND_PORT = port; #ifdef WIN32 - sprintf(fname,"%s\\assets\\%s",GetDataDir(false).string().c_str(),buf); + sprintf(fname,"%s\\%s",GetDataDir(false).string().c_str(),buf); #else - sprintf(fname,"%s/assets/%s",GetDataDir(false).string().c_str(),buf); + sprintf(fname,"%s/%s",GetDataDir(false).string().c_str(),buf); #endif if ( (fp= fopen(fname,"rb")) == 0 ) { diff --git a/src/util.cpp b/src/util.cpp index aec973cb6..86821ef0a 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -526,8 +526,8 @@ const boost::filesystem::path &GetDataDir(bool fNetSpecific) path /= BaseParams().DataDir(); fs::create_directories(path); - std::string assetpath = path + "/assets"; - boost::filesystem::create_directory(assetpath); + //std::string assetpath = path + "/assets"; + //boost::filesystem::create_directory(assetpath); return path; }