(svn r25952) -Fix [FS#5719]: do not skip numbers when skipping spaces and other sorting 'improving' characters

This commit is contained in:
rubidium 2013-11-08 21:15:20 +00:00
parent a41b8c851d
commit cdd6752ead
1 changed files with 1 additions and 1 deletions

View File

@ -608,7 +608,7 @@ char *strcasestr(const char *haystack, const char *needle)
*/
static const char *SkipGarbage(const char *str)
{
while (*str != '\0' && (*str < 'A' || IsInsideMM(*str, '[', '`' + 1) || IsInsideMM(*str, '{', '~' + 1))) str++;
while (*str != '\0' && (*str < '0' || IsInsideMM(*str, ';', '@' + 1) || IsInsideMM(*str, '[', '`' + 1) || IsInsideMM(*str, '{', '~' + 1))) str++;
return str;
}