[INTERPRETER]

* BUG: Case insensitive comparison is now coherent whether natural comparison is specified or not.


git-svn-id: svn://localhost/gambas/trunk@7587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2016-01-25 23:28:18 +00:00
parent dc04a667c3
commit 8afaad6c00

View file

@ -383,8 +383,8 @@ int COMPARE_string_natural(const char *a, int la, const char *b, int lb, bool no
{
if (nocase)
{
ca = toupper(ca);
cb = toupper(cb);
ca = tolower(ca);
cb = tolower(cb);
}
if (ca < cb)