Sorting stamps directories again.

This commit is contained in:
William Kendrick 2005-10-22 07:42:34 +00:00
parent 9f7c7160fa
commit bb4f0efbbc

View file

@ -6660,6 +6660,7 @@ static void tp_ftw(char *restrict const dir, unsigned dirlen, int rsrc,
if(dir_names)
{
qsort(dir_names, num_dir_names, sizeof *dir_names, compare_ftw_str);
while(num_dir_names--)
{
memcpy(dir+dirlen, dir_names[num_dir_names].str, dir_names[num_dir_names].len+1);
@ -8330,7 +8331,10 @@ static void setup(int argc, char * argv[])
dest.y = WINDOW_HEIGHT - img_progress->h - tmp_surf->h;
SDL_BlitSurface(tmp_surf, NULL, screen, &dest);
SDL_FreeSurface(tmp_surf);
#ifdef DEBUG
printf("%s\n", tmp_str);
#endif
snprintf(tmp_str, sizeof(tmp_str),
"© 20022005 Bill Kendrick et al.");