Increase buffersize due to possible overflow
This commit is contained in:
parent
607fe40ef1
commit
f51a9b9f69
1 changed files with 1 additions and 1 deletions
|
@ -1149,7 +1149,7 @@ static void InfoPanel_draw_multiple_selection()
|
|||
}
|
||||
}
|
||||
if (Selected.size() > UI.SelectedButtons.size()) {
|
||||
char buf[5];
|
||||
char buf[22];
|
||||
|
||||
sprintf(buf, "+%lu", (long unsigned int)(Selected.size() - UI.SelectedButtons.size()));
|
||||
CLabel(*UI.MaxSelectedFont).Draw(UI.MaxSelectedTextX, UI.MaxSelectedTextY, buf);
|
||||
|
|
Loading…
Add table
Reference in a new issue