Skip to content

Commit

Permalink
SDL2: size limit for vector font is one less than it should be
Browse files Browse the repository at this point in the history
  • Loading branch information
backwardsEric authored and NickMcConnell committed Sep 14, 2024
1 parent 68ca9c9 commit 11a12d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main-sdl2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1366,7 +1366,7 @@ static void calculate_subwindow_font_size_bounds(struct subwindow *subwindow,
int try;

if (lo == hi - 1) {
*max_size = lo;
*max_size = hi;
return;
}
try = (lo + hi) / 2;
Expand Down

0 comments on commit 11a12d1

Please sign in to comment.