diff options
author | 2017-09-18 21:45:35 +0300 | |
---|---|---|
committer | 2017-09-18 21:45:35 +0300 | |
commit | e171c84de8a67a978a29889067f597a0f0432a1d (patch) | |
tree | 68c2569bc06869cb5779d30164e290b0a729ccd5 /src/pb_controller.cpp | |
parent | fa36e4cf2015b5fe4d209e9966cf07cc62cc1a1e (diff) | |
download | newsboat-e171c84de8a67a978a29889067f597a0f0432a1d.tar.gz newsboat-e171c84de8a67a978a29889067f597a0f0432a1d.tar.zst newsboat-e171c84de8a67a978a29889067f597a0f0432a1d.zip |
Add _CONFIG_SUBDIR and _SUBDIR_XDG macros for Newsboat
Diffstat (limited to '')
-rw-r--r-- | src/pb_controller.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pb_controller.cpp b/src/pb_controller.cpp index ce4d490a..08348e03 100644 --- a/src/pb_controller.cpp +++ b/src/pb_controller.cpp @@ -71,10 +71,10 @@ bool pb_controller::setup_dirs_xdg(const char *env_home) { } xdg_config_dir.append(NEWSBEUTER_PATH_SEP); - xdg_config_dir.append(NEWSBEUTER_SUBDIR_XDG); + xdg_config_dir.append(NEWSBOAT_SUBDIR_XDG); xdg_data_dir.append(NEWSBEUTER_PATH_SEP); - xdg_data_dir.append(NEWSBEUTER_SUBDIR_XDG); + xdg_data_dir.append(NEWSBOAT_SUBDIR_XDG); bool config_dir_exists = 0 == access(xdg_config_dir.c_str(), R_OK | X_OK); @@ -132,7 +132,7 @@ pb_controller::pb_controller() : v(0), config_file("config"), queue_file("queue" return; config_dir.append(NEWSBEUTER_PATH_SEP); - config_dir.append(NEWSBEUTER_CONFIG_SUBDIR); + config_dir.append(NEWSBOAT_CONFIG_SUBDIR); ::mkdir(config_dir.c_str(),0700); // create configuration directory if it doesn't exist config_file = config_dir + std::string(NEWSBEUTER_PATH_SEP) + config_file; |