X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fsynfigapp%2Fsettings.cpp;h=5399109116ccd9fd89701c0f6c206984fde473e0;hb=2349d242e18afb3d3f440dba872cb7b5b40e7096;hp=de2c708b5365777e2a2710c0d899c01035ed8624;hpb=37600b4b217caa5e316984ec0b035c5e8f9698af;p=synfig.git diff --git a/synfig-studio/trunk/src/synfigapp/settings.cpp b/synfig-studio/trunk/src/synfigapp/settings.cpp index de2c708..5399109 100644 --- a/synfig-studio/trunk/src/synfigapp/settings.cpp +++ b/synfig-studio/trunk/src/synfigapp/settings.cpp @@ -32,9 +32,12 @@ #include #include +#include #include "settings.h" #include +#include "general.h" + #endif /* === U S I N G =========================================================== */ @@ -247,7 +250,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; } }