diff options
author | Philip Langdale <philipl@mail.utexas.edu> | 2001-08-22 01:41:41 +0000 |
---|---|---|
committer | Philip Langdale <philipl@src.gnome.org> | 2001-08-22 01:41:41 +0000 |
commit | d646d9d7ac30a2839460cf4feca5838baef36b81 (patch) | |
tree | 92598c29f2578fe7df69d673243d08b396b71e1a | |
parent | 334b505f7cf2e53209807178c772c39a95cf5ca5 (diff) | |
download | yelp-d646d9d7ac30a2839460cf4feca5838baef36b81.tar.gz |
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.
-rw-r--r-- | src/info2html/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/info2html/main.c b/src/info2html/main.c index c61bd7b6..eb8893ac 100644 --- a/src/info2html/main.c +++ b/src/info2html/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++) |