summaryrefslogtreecommitdiff
path: root/textproc/scrollkeeper/files/patch-libs_install.c
blob: e1162f1fd536d81c338dd21aa635470b0f0abcc2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- libs/install.c.orig	Sat Dec  6 17:47:34 2003
+++ libs/install.c	Sat Dec  6 17:47:47 2003
@@ -517,10 +517,9 @@
     /* these should all be <sect> nodes */	    
     for(node = sect_node; node != NULL; node = node->next)
     {
+	xmlChar *categorycode;
     	if (xmlStrcmp(node->name, (xmlChar *)"sect"))
 	    continue;
-	
-	xmlChar *categorycode;
 	
 	categorycode = xmlGetProp(node, (xmlChar *)"categorycode");
 	if (categorycode == NULL)