Some indentation cleanup.

This commit is contained in:
William Kendrick 2004-06-01 07:42:38 +00:00
parent bbc3a49f00
commit 60d291bcec

View file

@ -9844,12 +9844,13 @@ int do_open(int want_new_tool)
}
/* (Re)allocate space for the information about these files: */
thumbs = (SDL_Surface * *) realloc(thumbs, sizeof(SDL_Surface *) * num_files_in_dirs);
d_names = (char * *) realloc(d_names, sizeof(char *) * num_files_in_dirs);
d_exts = (char * *) realloc(d_exts, sizeof(char *) * num_files_in_dirs);
/* Sort: */
qsort(fs, num_files_in_dirs, sizeof(struct dirent),
@ -9946,7 +9947,6 @@ int do_open(int want_new_tool)
if (img == NULL)
{
/* No thumbnail - load original: */
/* (Make sure we have a .../saved/.thumbs/ directory:) */
tmp_fname = get_fname("saved/.thumbs");
@ -9965,7 +9965,6 @@ int do_open(int want_new_tool)
free(tmp_fname);
snprintf(fname, sizeof(fname), "%s/%s",
dirname, f->d_name);
debug(fname);
@ -9980,8 +9979,7 @@ int do_open(int want_new_tool)
if (img == NULL)
{
fprintf(stderr,
"\nWarning: I can't open one of the "
"saved files!\n"
"\nWarning: I can't open one of the saved files!\n"
"%s\n"
"The Simple DirectMedia Layer error that "
"occurred was:\n"