mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 05:53:02 +01:00
Use nullptr instead of NULL in C++
This commit is contained in:
@@ -1054,7 +1054,7 @@ static void widget_text_box_draw(rct_drawpixelinfo *dpi, rct_window *w, rct_widg
|
||||
gCurrentFontSpriteBase = FONT_SPRITE_BASE_MEDIUM;
|
||||
gCurrentFontFlags = 0;
|
||||
|
||||
if (!active || gTextInput == NULL) {
|
||||
if (!active || gTextInput == nullptr) {
|
||||
|
||||
if (w->widgets[widgetIndex].text != 0) {
|
||||
safe_strcpy(wrapped_string, w->widgets[widgetIndex].string, 512);
|
||||
|
||||
Reference in New Issue
Block a user