]> git.sur5r.net Git - glabels/commitdiff
Added strategic debug statement to help locate bad templates.
authorJim Evins <evins@snaught.com>
Thu, 28 Nov 2002 02:49:00 +0000 (02:49 +0000)
committerJim Evins <evins@snaught.com>
Thu, 28 Nov 2002 02:49:00 +0000 (02:49 +0000)
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@186 f5e0f49d-192f-0410-a22d-a8d8700d0965

glabels2/src/template.c

index 4f70c6548f56adb11cd10ba23f06518d1d37021e..537ce648220ee36f94d28f99c8d7908b3be9587d 100644 (file)
@@ -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.*/