Skip to content

Commit

Permalink
fix linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
Karaulov committed Dec 23, 2022
1 parent 51a9788 commit 9d71a77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -879,8 +879,8 @@ int main(int argc, char* argv[])
g_settings_path = GetCurrentDir() + "bspguy.cfg";
g_config_dir = GetCurrentDir();
#else
g_settings_path = fileExists(getConfigDir() + "bspguy.cfg") ? getConfigDir() + "bspguy.cfg" : GetCurrentWorkingDir() + "bspguy.cfg";
g_config_dir = fileExists(getConfigDir() + "bspguy.cfg") ? getConfigDir() : GetCurrentWorkingDir();
g_settings_path = fileExists(getConfigDir() + "bspguy.cfg") ? getConfigDir() + "bspguy.cfg" : GetCurrentDir() + "bspguy.cfg";
g_config_dir = fileExists(getConfigDir() + "bspguy.cfg") ? getConfigDir() : GetCurrentDir();
#endif
// test svencoop merge
//return test();
Expand Down

0 comments on commit 9d71a77

Please sign in to comment.