Codechange: Use existing widget ids instead of raw numbers.

This commit is contained in:
frosch
2023-09-20 21:25:37 +02:00
committed by frosch
parent e0df937247
commit 39e67b6f4c
2 changed files with 2 additions and 3 deletions

View File

@@ -239,7 +239,7 @@ public:
void DrawWidget(const Rect &r, int widget) const override
{
if (widget != 0) return;
if (widget != WID_BAFD_QUESTION) return;
DrawStringMultiLine(r.Shrink(WidgetDimensions::scaled.frametext), STR_MISSING_GRAPHICS_SET_MESSAGE, TC_FROMSTRING, SA_CENTER);
}