X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Ftoolbox.cpp;h=7bcdd14f47fbbac748643ce8377a66a0b69ee49d;hb=eaf12afa6f6d98b64bec9dd9d55019e9bf3553a4;hp=fc5bd58184d5a7aba6f9f61c289ad6242d6b0402;hpb=5e7362ae3b7ced83079a6a7158fcc1eb1c09f2ac;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/toolbox.cpp b/synfig-studio/trunk/src/gtkmm/toolbox.cpp index fc5bd58..7bcdd14 100644 --- a/synfig-studio/trunk/src/gtkmm/toolbox.cpp +++ b/synfig-studio/trunk/src/gtkmm/toolbox.cpp @@ -79,6 +79,8 @@ #include +#include "general.h" + #endif using namespace std; @@ -589,7 +591,7 @@ Toolbox::on_drop_drag_data_received(const Glib::RefPtr& contex synfig::String selection_data((gchar *)(selection_data_.get_data())); // For some reason, GTK hands us a list of URLs separated - // by not only Carrage-Returns, but also Line-Feeds. + // by not only Carriage-Returns, but also Line-Feeds. // Line-Feeds will mess us up. Remove all the line-feeds. while(selection_data.find_first_of('\r')!=synfig::String::npos) selection_data.erase(selection_data.begin()+selection_data.find_first_of('\r'));