Tie _tooltipText size to that of gCommonStringFormatBuffer

This commit is contained in:
Michał Janiszewski 2016-10-23 22:13:17 +02:00
parent 315c0e91ad
commit 8894be6a6d

View file

@ -64,7 +64,7 @@ static rct_window_event_list window_tooltip_events = {
NULL
};
static utf8 _tooltipText[512];
static utf8 _tooltipText[sizeof(gCommonStringFormatBuffer)];
static sint16 _tooltipNumLines;
void window_tooltip_reset(int x, int y)