mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 23:33:04 +01:00
Merge pull request #2867 from flk92/fix-scenario-dialog-text-overflow
Fix scenario path overflowing dialog on RCT1 font
This commit is contained in:
@@ -379,6 +379,8 @@ static void window_scenarioselect_paint(rct_window *w, rct_drawpixelinfo *dpi)
|
||||
// Scenario path
|
||||
if (gConfigGeneral.debugging_tools) {
|
||||
utf8 path[MAX_PATH];
|
||||
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_FONT_SPRITE_BASE, uint16) = 224;
|
||||
shorten_path(path, sizeof(path), scenario->path, w->width - 6);
|
||||
|
||||
const utf8 *pathPtr = path;
|
||||
|
||||
Reference in New Issue
Block a user