Skip to content

Commit

Permalink
Add spaces around SDL_PRI??? to avoid potential compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Jan 18, 2024
1 parent 15175c9 commit e431049
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/testapp.c
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ int main(void)

if (save_to_bmp) {
SDL_snprintf(filename, sizeof(filename) - 1 ,
"Render=%s_size=%d_outline=%d_wrap=%d_wrap_size=%d_kerning=%d_sdf=%d_italic=%d_bold=%d_underline=%d_strikethrough=%d_hinting=%s_%s__%"SDL_PRIs64".bmp",
"Render=%s_size=%d_outline=%d_wrap=%d_wrap_size=%d_kerning=%d_sdf=%d_italic=%d_bold=%d_underline=%d_strikethrough=%d_hinting=%s_%s__%" SDL_PRIs64 ".bmp",
render_mode_desc[render_mode],
curr_size,
outline,
Expand Down Expand Up @@ -1014,7 +1014,7 @@ int main(void)
}

if (print_elapsed_ticks) {
SDL_Log("Avg: %7lg ms Avg Perf: %7"SDL_PRIu64" (min=%7"SDL_PRIu64")", (double)t_sum / (double)count_init, T_sum / count_init, T_min);
SDL_Log("Avg: %7lg ms Avg Perf: %7" SDL_PRIu64 " (min=%7" SDL_PRIu64 ")", (double)t_sum / (double)count_init, T_sum / count_init, T_min);
}

if (text_surface == NULL && render_mode == 1 && sdf == 1) {
Expand Down

0 comments on commit e431049

Please sign in to comment.