From 2ef6fb8f99b1570ce897da790a53c6bdeba196e2 Mon Sep 17 00:00:00 2001 From: dooglus Date: Sun, 26 Oct 2008 20:44:20 +0000 Subject: [PATCH] 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 --- synfig-core/trunk/src/synfig/loadcanvas.cpp | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) 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<