always go forward in the POSIX implmentation of CharNext

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3540 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-05-08 11:34:31 +00:00
parent ebbfc6d335
commit 473d90a1bc

View file

@ -378,7 +378,7 @@ char *CharPrev(const char *s, const char *p) {
char *CharNext(const char *s) {
int l = 0;
if (s && *s)
l = min(1, mblen(s, strlen(s)));
l = max(1, mblen(s, strlen(s)));
return (char *) s + l;
}