Scaling starts to the edge to avoid bucket Fill spill over.

This commit is contained in:
William Kendrick 2009-10-11 18:22:50 +00:00
parent 56205ba9c8
commit 4db3e359fb
3 changed files with 10 additions and 3 deletions

View file

@ -254,7 +254,7 @@ int compare_ftw_str(const void *v1, const void *v2)
{
const char *restrict const s1 = ((tp_ftw_str *) v1)->str;
const char *restrict const s2 = ((tp_ftw_str *) v2)->str;
return -strcmp(s1, s2);
return -strcmp(s1, s2); /* FIXME: Should we try strcasecmp, to group things together despite uppercase/lowercase in filenames (e.g., Jigsaw* vs jigsaw* Starters)??? -bjk 2009.10.11 */
}
void tp_ftw(SDL_Surface * screen, char *restrict const dir, unsigned dirlen,