summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 700e4ba..763fd54 100644
--- a/main.c
+++ b/main.c
@@ -1919,8 +1919,8 @@ main (int argc, char **argv, char **envp)
#ifndef _AMIGA
for (p = environ; *p != 0; ++p)
- if ((*p)[MAKELEVEL_LENGTH] == '='
- && strneq (*p, MAKELEVEL_NAME, MAKELEVEL_LENGTH))
+ if (strneq (*p, MAKELEVEL_NAME, MAKELEVEL_LENGTH)
+ && (*p)[MAKELEVEL_LENGTH] == '=')
{
/* The SGI compiler apparently can't understand
the concept of storing the result of a function