Added "tags" & "TAGS" files to be ignored
[mdsms.git] / manfmt.c
index 344a56c..03b8303 100644 (file)
--- a/manfmt.c
+++ b/manfmt.c
@@ -3,17 +3,18 @@
 static char rcsid[] ATTR_UNUSED = "$Id$";
 #endif
 
-/*
- * $Log$
- * Revision 1.1.1.1  1999/05/26 13:06:26  short
- * First alpha release.
- *
- */
-
+#ifdef HAVE_STDIO_H
 #include <stdio.h>
-#include <string.h>
+#endif
+#ifdef HAVE_STDLIB_H
 #include <stdlib.h>
+#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+#ifdef HAVE_LIMITS_H
 #include <limits.h>
+#endif
 
 static char buf[LINE_MAX];
 
@@ -31,6 +32,7 @@ char f;
                        if (*s=='\t') {
                                if ((f=!f)) {
 /*fprintf(stderr,"DURING TURN-ON:%s",s);*/
+                                       while (s[1]==' ') s++;
                                        if (s[1]=='"') s++;
                                        }
                                else {