summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/parser/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/programs/Xserver/hw/xfree86/parser/scan.c')
-rw-r--r--xc/programs/Xserver/hw/xfree86/parser/scan.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/parser/scan.c b/xc/programs/Xserver/hw/xfree86/parser/scan.c
index 9b84aec0f..3590855c6 100644
--- a/xc/programs/Xserver/hw/xfree86/parser/scan.c
+++ b/xc/programs/Xserver/hw/xfree86/parser/scan.c
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/parser/scan.c,v 1.13 2000/10/20 14:59:03 alanh Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/parser/scan.c,v 1.14 2000/11/02 19:58:20 anderson Exp $ */
/*
*
* Copyright (c) 1997 Metro Link Incorporated
@@ -937,11 +937,12 @@ xf86nameCompare (const char *s1, const char *s2)
{
char c1, c2;
- if (!s1 || *s1 == 0)
+ if (!s1 || *s1 == 0) {
if (!s2 || *s2 == 0)
return (0);
else
return (1);
+ }
while (*s1 == '_' || *s1 == ' ' || *s1 == '\t')
s1++;