Fixed compile error with cache location checking
This commit is contained in:
parent
09495e66cc
commit
531eeb60aa
@ -422,9 +422,8 @@ void Options::load () {
|
|||||||
g_mkdir_with_parents (profdir.c_str(), 511);
|
g_mkdir_with_parents (profdir.c_str(), 511);
|
||||||
options.saveToFile (rtdir + "/options");
|
options.saveToFile (rtdir + "/options");
|
||||||
}
|
}
|
||||||
#if defined(__MINGW32__) || defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
#ifdef _WIN32
|
||||||
cacheBaseDir = rtdir + "/cache";
|
cacheBaseDir = rtdir + "/cache";
|
||||||
}
|
|
||||||
#else
|
#else
|
||||||
cacheBaseDir = Glib::ustring(g_get_user_cache_dir()) + "/RawTherapee";
|
cacheBaseDir = Glib::ustring(g_get_user_cache_dir()) + "/RawTherapee";
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user