One additional modification to check for a space in the option

with no following text.
This commit is contained in:
R. Timothy Edwards 2026-05-13 08:38:11 -04:00
parent 0013dda92d
commit 22e182f908
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ ArgStr(
argptr++;
if (*argptr != '\0')
{
while (isspace(*argptr))
while (isspace(*argptr) && (*argptr != '\0'))
argptr++;
return argptr;