summaryrefslogtreecommitdiff
path: root/config/makedepend
diff options
context:
space:
mode:
authortsi <tsi>2006-12-11 23:17:40 +0000
committertsi <tsi>2006-12-11 23:17:40 +0000
commit1a761693bfcbebb55bbcec2950f609061e8f99ef (patch)
treefc4d7bc6b57e7b03ae3125892253a869bcf89f50 /config/makedepend
parentd88863732e143b6037cc9a08681604d6e0a76fff (diff)
Typo
Diffstat (limited to 'config/makedepend')
-rw-r--r--config/makedepend/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/makedepend/main.c b/config/makedepend/main.c
index aaf61b592..a8f422db3 100644
--- a/config/makedepend/main.c
+++ b/config/makedepend/main.c
@@ -23,7 +23,7 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
-/* $XFree86: xc/config/makedepend/main.c,v 3.35tsi Exp $ */
+/* $XFree86: xc/config/makedepend/main.c,v 3.36tsi Exp $ */
#include "def.h"
#ifdef hpux
@@ -708,7 +708,8 @@ char *getnextline(struct filepointer *filep)
* TurboC seems to want its pragmas in column
* 2.
*/
- if (!strcmp(cp, "pragma")) whitespace = FALSE;
+ if (!strncmp(cp, "pragma", 6))
+ whitespace = FALSE;
if (*cp) goto done;
--p;
}