summaryrefslogtreecommitdiff
path: root/textproc/scrollkeeper/patches/patch-aa
blob: 3d25958b7b799113dcb9735afbfada3abcde416e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-aa,v 1.7 2004/01/25 09:35:38 tron Exp $

--- libs/install.c.orig	Wed Sep  3 12:33:52 2003
+++ libs/install.c	Sun Jan 25 10:34:06 2004
@@ -517,10 +517,10 @@
     /* 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)