X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fsynfigapp%2Fsettings.cpp;h=43fcb8f445b347f0fc68dccd768ed51cfafc21d1;hb=b0f748aba0e380b4b9bb0ebcc4066cc3499aecd7;hp=e1ee8c6415fe6d0b9d98f96c2478b326ce3e0fa8;hpb=1c3c8536b102191d24743140d6f4eed1d2498a99;p=synfig.git diff --git a/synfig-studio/trunk/src/synfigapp/settings.cpp b/synfig-studio/trunk/src/synfigapp/settings.cpp index e1ee8c6..43fcb8f 100644 --- a/synfig-studio/trunk/src/synfigapp/settings.cpp +++ b/synfig-studio/trunk/src/synfigapp/settings.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -34,6 +35,8 @@ #include "settings.h" #include +#include "general.h" + #endif /* === U S I N G =========================================================== */ @@ -246,7 +249,7 @@ Settings::load_from_file(const synfig::String& filename) } catch(...) { - synfig::error("Settings::load_from_file(): Attept to set key \"%s\" with a value of \"%s\" has thrown an exception.",key.c_str(),value.c_str()); + synfig::error("Settings::load_from_file(): Attempt to set key \"%s\" with a value of \"%s\" has thrown an exception.",key.c_str(),value.c_str()); throw; } }