From: Jim Evins Date: Thu, 28 Nov 2002 02:49:00 +0000 (+0000) Subject: Added strategic debug statement to help locate bad templates. X-Git-Tag: glabels-2_3_0~701 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2cd7297ae45065421acc610b767b82c9608a475d;p=glabels Added strategic debug statement to help locate bad templates. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@186 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- diff --git a/glabels2/src/template.c b/glabels2/src/template.c index 4f70c654..537ce648 100644 --- a/glabels2/src/template.c +++ b/glabels2/src/template.c @@ -555,6 +555,8 @@ gl_template_xml_parse_sheet (xmlNodePtr sheet_node) template->name = g_list_append (template->name, xmlGetProp (sheet_node, "name")); + gl_debug (DEBUG_TEMPLATE, "Sheet = %s", template->name->data); + template->page_size = xmlGetProp (sheet_node, "size"); if ( strcmp (template->page_size,"US-Letter") == 0 ) { /* Compatibility with old pre-1.0 template files.*/