Skip to content
Snippets Groups Projects
Commit 30cf70e9 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Uh, increment the pointer in globi()

Fixes crash reported in #381.
parent 1f0d53ca
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2934 passed
......@@ -321,6 +321,7 @@ int globi(const char *p, int flags,
len += sprintf(pattern + len, "[%c%c]", toupper(*p), tolower(*p));
else
pattern[len++] = *p;
p++;
}
}
pattern[len] = '\0';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment