From 1c3c8536b102191d24743140d6f4eed1d2498a99 Mon Sep 17 00:00:00 2001 From: dooglus Date: Wed, 3 Oct 2007 17:41:32 +0000 Subject: [PATCH] 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 --- synfig-studio/trunk/src/synfigapp/settings.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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<<'='<