From: dooglus Date: Fri, 25 Jan 2008 17:28:53 +0000 (+0000) Subject: Avoid warning from g++ 4.3. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=28b466d1dcdc160e3b22bba9df5c0a4bb7a4e5a5;p=synfig.git Avoid warning from g++ 4.3. git-svn-id: http://svn.voria.com/code@1489 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/instance.cpp b/synfig-studio/trunk/src/gtkmm/instance.cpp index f0451ad..a75348a 100644 --- a/synfig-studio/trunk/src/gtkmm/instance.cpp +++ b/synfig-studio/trunk/src/gtkmm/instance.cpp @@ -210,10 +210,12 @@ studio::Instance::save() // and will be changed to an absolute path once it has been saved // so if it still begins with "Synfig Animation " then we need to ask where to save it if(get_file_name().find(DEFAULT_FILENAME_PREFIX)==0) + { if (dialog_save_as()) return STATUS_OK; else return STATUS_CANCEL; + } if (synfigapp::Instance::save()) return STATUS_OK;