diff --git a/kernel/newstuff.c b/kernel/newstuff.c index 28a75e5..73f26ff 100644 --- a/kernel/newstuff.c +++ b/kernel/newstuff.c @@ -538,8 +538,7 @@ COUNT truename(const char FAR * src, char * dest, COUNT mode) if (i & PNE_WILDCARD) gotAnyWildcards = TRUE; } - if (*src != '\0') - --src; /* terminator or separator was skipped */ + --src; /* terminator or separator was skipped */ break; } }