diff options
author | pommicket <pommicket@gmail.com> | 2023-08-13 13:10:56 -0300 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-13 13:10:56 -0300 |
commit | 31c1f3acc7a56683b5512620419b8989a26dad4b (patch) | |
tree | 648fdec6c81f238903490f8c68092ad7241507fd /find.c | |
parent | 598d72c0674bb059c0f38f03c4851bcc61e5852d (diff) |
documentation
Diffstat (limited to 'find.c')
-rw-r--r-- | find.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -431,9 +431,9 @@ void find_menu_frame(Ted *ted, Rect menu_bounds) { char str[32]; u32 match_idx = find_match_idx(ted); if (match_idx == U32_MAX) { - strbuf_printf(str, U32_FMT " matches", arr_len(ted->find_results)); + strbuf_printf(str, "%" PRIu32 " matches", arr_len(ted->find_results)); } else { - strbuf_printf(str, U32_FMT " of " U32_FMT, match_idx + 1, arr_len(ted->find_results)); + strbuf_printf(str, "%" PRIu32 " of %" PRIu32, match_idx + 1, arr_len(ted->find_results)); } text_get_size(font, str, &w, &h); text_utf8(font, str, x2 - w, rect_ymid(find_buffer_bounds) - h * 0.5f, colors[COLOR_TEXT]); |