Customized fork of github.com/rxi/lite

Changed fuzzy matching to favour matching case

rxi 61092fbb 28b1844a

Changed files
+2 -2
src
api
+2 -2
src/api/system.c
··· 363 363 while (*str == ' ') { str++; } 364 364 while (*ptn == ' ') { ptn++; } 365 365 if (tolower(*str) == tolower(*ptn)) { 366 - score += run; 366 + score += run * 10 - (*str != *ptn); 367 367 run++; 368 368 ptn++; 369 369 } else { 370 - score--; 370 + score -= 10; 371 371 run = 0; 372 372 } 373 373 str++;