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:
parent
ebbfc6d335
commit
473d90a1bc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue