From 39e1c3a79129a1718b5751c17a1cc6cc6903090e Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 17 Aug 2008 07:44:57 +0000 Subject: [PATCH] Drop the .cache suffix when saving config too --- source/config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/config.cpp b/source/config.cpp index 9ade530..da63cc9 100644 --- a/source/config.cpp +++ b/source/config.cpp @@ -178,11 +178,11 @@ void Config::finish() void Config::save() const { - FS::Path fn=package.get_source()/".options.cache"; + FS::Path fn=package.get_source()/".options"; OptionMap::const_iterator i=options.find("profile"); if(i!=options.end()) - fn=package.get_source()/(".options."+i->second.value+".cache"); + fn=package.get_source()/(".options."+i->second.value); IO::BufferedFile out(fn.str(), IO::M_WRITE); -- 2.45.2