[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:
parent
dc04a667c3
commit
8afaad6c00
1 changed files with 43 additions and 43 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue