diff --git a/rtgui/options.cc b/rtgui/options.cc index 8eadff58c..d3ab4cbeb 100644 --- a/rtgui/options.cc +++ b/rtgui/options.cc @@ -422,8 +422,12 @@ void Options::load () { g_mkdir_with_parents (profdir.c_str(), 511); options.saveToFile (rtdir + "/options"); } - cacheBaseDir = Glib::ustring(g_get_user_cache_dir()) + "/RawTherapee"; +#if defined(__MINGW32__) || defined(_WIN32) || defined(__WIN32__) || defined(WIN32) + cacheBaseDir = rtdir + "/cache"; } +#else + cacheBaseDir = Glib::ustring(g_get_user_cache_dir()) + "/RawTherapee"; +#endif Glib::ustring fname = argv0+"/languages/"; fname += (options.language.empty())? DefaultLanguage : options.language;