Skip to content

Commit

Permalink
Remove unnecessary +
Browse files Browse the repository at this point in the history
  • Loading branch information
rswinkle committed Apr 8, 2023
1 parent cde9ddf commit 69f708b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sdl_img.c
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,7 @@ int myscandir(const char* dirpath, const char** exts, int num_exts, int recurse)
cvec_push_file(&g->files, &f);
}

SDL_Log("Found %+"PRIcv_sz" images in %s\n", g->files.size-start_size, dirpath);
SDL_Log("Found %"PRIcv_sz" images in %s\n", g->files.size-start_size, dirpath);

closedir(dir);
g->loading = 0;
Expand Down Expand Up @@ -2819,7 +2819,7 @@ int main(int argc, char** argv)

myscandir(dirpath, exts, num_exts, recurse); // allow recurse for base case?

SDL_Log("Found %+"PRIcv_sz" images total\nSorting by file name now...\n", g->files.size);
SDL_Log("Found %"PRIcv_sz" images total\nSorting by file name now...\n", g->files.size);

snprintf(fullpath, STRBUF_SZ, "%s/%s", dirpath, img_name);

Expand All @@ -2843,7 +2843,7 @@ int main(int argc, char** argv)
// from ptrdiff_t (i64) to int here and use ints everywhere
start_index =(int)(res - g->files.a);
} else {
SDL_Log("Found %+"PRIcv_sz" images total\nSorting by file name now...\n", g->files.size);
SDL_Log("Found %"PRIcv_sz" images total\nSorting by file name now...\n", g->files.size);
mirrored_qsort(g->files.a, g->files.size, sizeof(file), filename_cmp_lt, 0);
}

Expand Down

0 comments on commit 69f708b

Please sign in to comment.