~ubuntu-branches/ubuntu/lucid/mc/lucid

« back to all changes in this revision

Viewing changes to src/man2hlp.c

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Winnertz
  • Date: 2008-09-16 10:38:59 UTC
  • mfrom: (3.1.6 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080916103859-2uwn8w61xk5mbxxq
Tags: 2:4.6.2~git20080311-4
Corrected fix for odt2txt issue (Closes: #492019) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Man page to help file converter
2
 
   Copyright (C) 1994, 1995 Janne Kukonlehto
 
2
   Copyright (C) 1994, 1995, 1998, 2000, 2001, 2002, 2003, 2004, 2005,
 
3
   2007 Free Software Foundation, Inc.
3
4
                 2002  Andrew V. Samoilov
4
5
                 2002  Pavel Roskin
5
6
 
18
19
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
19
20
 
20
21
#include <config.h>
 
22
 
 
23
#include <stdarg.h>
21
24
#include <stdio.h>
22
25
#include <stdlib.h>
23
 
#include <stdarg.h>
24
26
#include <string.h>
25
27
 
26
28
#include <glib.h>
 
29
 
27
30
#include "help.h"
28
31
#include "glibcompat.h"
29
32
 
762
765
                char *p = strchr (node, ']');
763
766
                if (p) {
764
767
                    if (strncmp (node + 1, "[main]", 6) == 0) {
765
 
                        node = 0;
 
768
                        node = NULL;
766
769
                    } else {
767
770
                        if (!cnode) {
768
771
                            cnode = &nodes;