From: dooglus Date: Wed, 3 Oct 2007 17:41:32 +0000 (+0000) Subject: Don't save settings which we can't find a value for. This prevents warnings on startup. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=1c3c8536b102191d24743140d6f4eed1d2498a99;p=synfig.git Don't save settings which we can't find a value for. This prevents warnings on startup. git-svn-id: http://svn.voria.com/code@828 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/synfigapp/settings.cpp b/synfig-studio/trunk/src/synfigapp/settings.cpp index 73d927f..e1ee8c6 100644 --- a/synfig-studio/trunk/src/synfigapp/settings.cpp +++ b/synfig-studio/trunk/src/synfigapp/settings.cpp @@ -194,7 +194,8 @@ Settings::save_to_file(const synfig::String& filename)const for(iter=key_list.begin();iter!=key_list.end();++iter) { if(!file)return false; - file<<*iter<<'='<