From 2cd7297ae45065421acc610b767b82c9608a475d Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Thu, 28 Nov 2002 02:49:00 +0000 Subject: [PATCH] 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 --- glabels2/src/template.c | 2 ++ 1 file changed, 2 insertions(+) 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.*/ -- 2.39.5