summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjacob berkman <jacob@ximian.com>2002-05-22 22:46:33 +0000
committerJacob Berkman <jberkman@src.gnome.org>2002-05-22 22:46:33 +0000
commitdfe27fa02ece1a5008ecfc035bb7d7817fa6dd8b (patch)
treecd61e62133a7df897e4a64438e6075a23a82a20e
parent1ec6126a958bcaf91b54f22eeac16d136139b2fb (diff)
downloadyelp-dfe27fa02ece1a5008ecfc035bb7d7817fa6dd8b.tar.gz
fix last commit
2002-05-22 jacob berkman <jacob@ximian.com> * help-converters/man/gnome-man2html.c (main): fix last commit
-rw-r--r--src/man2html/yelp-man2html.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/man2html/yelp-man2html.c b/src/man2html/yelp-man2html.c
index 7bbf5379..fce73381 100644
--- a/src/man2html/yelp-man2html.c
+++ b/src/man2html/yelp-man2html.c
@@ -3782,15 +3782,14 @@ main(int argc, char **argv)
len = strlen(output);
for(i = 0; i < len; i++)
{
- if (isspace((unsigned char)output[i] && output[i+1] == '/'))
+ if (isspace((unsigned char)output[i] && (output[i+1] == '/')))
output[i] = '\0';
}
-
- /*
+
i = strlen(output) - 1;
- while(isspace((unsigned char)output[i])) output[i--] = '\0';
- */
-
+ while (isspace((unsigned char)output[i]))
+ output[i--] = '\0';
+
if (output[0]) {
#ifdef HAVE_LIBBZ2