Skip to content

Commit 72143c2

Browse files
committed
Fix scoreboard name overread
1 parent 277dc5d commit 72143c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game/scenes/scoreboard.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ void scoreboard_render_overlay(scene *scene) {
121121
scoreboard_local *local = scene_get_userdata(scene);
122122
char row[128];
123123
char score_text[15];
124-
const char *score_row_format = "%-18s%-9s%-9s%11s";
124+
const char *score_row_format = "%-18.16s%-9s%-9s%11s";
125125

126126
text_settings big_text;
127127
text_defaults(&big_text);

0 commit comments

Comments
 (0)