Files
bsdports/gnome/scrollkeeper/files/_patch-x-libs-install.c
2019-12-26 07:26:06 +00:00

16 lines
487 B
C

--- ./libs/install.c.orig 2003-09-03 13:33:52.000000000 +0300
+++ ./libs/install.c 2015-10-21 08:50:54.316859000 +0200
@@ -517,11 +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)
continue;