mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Merge pull request #1109 from trofi/fix-format-string
mapeditor/mainwindow.cpp: use '%s' (not '%b') for string formatter
This commit is contained in:
commit
55914290ca
@ -1011,7 +1011,7 @@ void MainWindow::onSelectionMade(int level, bool anythingSelected)
|
||||
{
|
||||
if (level == mapLevel)
|
||||
{
|
||||
auto info = QString::asprintf("Selection on layer %d: %b", level, anythingSelected ? "true" : "false");
|
||||
auto info = QString::asprintf("Selection on layer %d: %s", level, anythingSelected ? "true" : "false");
|
||||
setStatusMessage(info);
|
||||
|
||||
ui->actionErase->setEnabled(anythingSelected);
|
||||
|
Loading…
Reference in New Issue
Block a user