replaced last 'item #n' temporary text

This commit is contained in:
Geoffray Levasseur committed 2026-11-17 11:05:50 +01:00
1 parent 6825eb4114
commit 6e634e13d2
4 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -618,7 +618,7 @@ void CityDlg::offscreenPaint()
for (int i = 0; i < Term::nCityEventPriority && line < messageCount; ++i)
checkMessage(Term::CityEventPriority[static_cast<std::size_t>(i)]);
} else {
s = QStringLiteral("City management: #%1").arg(optiType);
s = phrases.lookup(QStringLiteral("CITYMANAGETYPE"), optiType);
const int j = s.indexOf(QLatin1Char('\\'));
if (j < 0) {
loweredTextOut(canvas, -1, *MainTexture, xmOpt + 40, ymOpt - 9, s);