[monkey-bubble: 647/753] Fixed a bug preventing INFOPATH from being parsed.
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 647/753] Fixed a bug preventing INFOPATH from being parsed.
- Date: Wed, 14 Jul 2010 22:50:05 +0000 (UTC)
commit f09510892ba6f7d6f4677e4333b2b483957c4091
Author: Philip Langdale <philipl mail utexas edu>
Date: Wed Aug 22 01:41:41 2001 +0000
Fixed a bug preventing INFOPATH from being parsed.
2001-08-21 Philip Langdale <philipl mail utexas edu>
* components/help/converters/gnome-info2html2/main.c: Fixed a bug
preventing INFOPATH from being parsed.
help-converters/info/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/help-converters/info/main.c b/help-converters/info/main.c
index c61bd7b..eb8893a 100644
--- a/help-converters/info/main.c
+++ b/help-converters/info/main.c
@@ -89,7 +89,7 @@ main(int argc, char **argv)
* necessary because we may not have an 'INFOPATH' set */
ndirs = 2;
if(infopath)
- for(ndirs = 2, ctmp = strtok((char *)args[0], ":"); ndirs < 64 && ctmp; ndirs++, ctmp = strtok(NULL, ":"))
+ for(ndirs = 2, ctmp = strtok(infopath, ":"); ndirs < 64 && ctmp; ndirs++, ctmp = strtok(NULL, ":"))
dirs[ndirs] = strdup(ctmp);
for(i = 0; i < ndirs; i++)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]