From: dooglus Date: Sun, 26 Oct 2008 20:44:20 +0000 (+0000) Subject: Rather than reporting "Couldn't create parsing context" when a file isn't readable... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=2ef6fb8f99b1570ce897da790a53c6bdeba196e2;p=synfig.git Rather than reporting "Couldn't create parsing context" when a file isn't readable or doesn't exist, report "Can't open file ". git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2140 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/synfig/loadcanvas.cpp b/synfig-core/trunk/src/synfig/loadcanvas.cpp index c6b9682..ed2d350 100644 --- a/synfig-core/trunk/src/synfig/loadcanvas.cpp +++ b/synfig-core/trunk/src/synfig/loadcanvas.cpp @@ -174,7 +174,7 @@ CanvasParser::error(xmlpp::Node *element, const String &text) { string str=strprintf("%s:<%s>:%d: error: ",filename.c_str(),element->get_name().c_str(),element->get_line())+text; total_errors_++; - errors_text += " " + str + "\n"; + errors_text += " * " + str + "\n"; if(!allow_errors_) throw runtime_error(str); cerr<