Contents of /trunk/scrollkeeper/patches/scrollkeeper-0.3.14-gcc2_fix.patch
Parent Directory | Revision Log
Revision 153 -
(show annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 692 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 692 byte(s)
-import
1 | diff -NurB scrollkeeper-0.3.14-orig/libs/install.c scrollkeeper-0.3.14/libs/install.c |
2 | --- scrollkeeper-0.3.14-orig/libs/install.c 2004-02-12 09:34:02.000000000 -0500 |
3 | +++ scrollkeeper-0.3.14/libs/install.c 2004-02-12 09:35:31.000000000 -0500 |
4 | @@ -499,6 +499,7 @@ |
5 | int id, int add_toc, char outputprefs, char **complete_cat_token) |
6 | { |
7 | xmlNodePtr node, new_node, s_node; |
8 | + xmlChar *categorycode; |
9 | |
10 | if (sect_node == NULL || |
11 | cat_token == NULL) |
12 | @@ -520,8 +521,6 @@ |
13 | if (xmlStrcmp(node->name, (xmlChar *)"sect")) |
14 | continue; |
15 | |
16 | - xmlChar *categorycode; |
17 | - |
18 | categorycode = xmlGetProp(node, (xmlChar *)"categorycode"); |
19 | if (categorycode == NULL) |
20 | continue; |