From 35741ad71624b8aebc07592b08be52e566d19d74 Mon Sep 17 00:00:00 2001 From: Philip Rinn Date: Wed, 16 Jun 2010 07:32:14 -0600 Subject: [PATCH] Reapply patch for issue 136 --- rtgui/options.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rtgui/options.cc b/rtgui/options.cc index fccff63fb..34c0c9c45 100644 --- a/rtgui/options.cc +++ b/rtgui/options.cc @@ -431,7 +431,11 @@ void Options::load () { g_mkdir_with_parents (profdir.c_str(), 511); options.saveToFile (rtdir + "/options"); } +#ifdef _WIN32 cacheBaseDir = rtdir + "/cache"; +#else + cacheBaseDir = Glib::ustring(g_get_user_cache_dir()) + "/RawTherapee"; +#endif } Glib::ustring fname = argv0+"/languages/";