Skip to content

Commit 36541c8

Browse files
committed
fix: add double quote so we understand that identifier can be empty
1 parent 22d3b9b commit 36541c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/rcdocument.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,12 +422,12 @@ QString extractStringForDialog(const RcCore::Data::Dialog *dialog, const QString
422422
if (dialog) {
423423
const auto control = findControlWithId(dialog, id);
424424
if (!control) {
425-
spdlog::warn("{}: control from id {} does not exist in the rc file.", FUNCTION_NAME, id);
425+
spdlog::warn("{}: control from id \"{}\" does not exist in the rc file.", FUNCTION_NAME, id);
426426
return {};
427427
}
428428
return control.value().text;
429429
} else {
430-
spdlog::warn("{}: id {} does not exist in the rc file.", FUNCTION_NAME, id);
430+
spdlog::warn("{}: id \"{}\" does not exist in the rc file.", FUNCTION_NAME, id);
431431
return {};
432432
}
433433
}

0 commit comments

Comments
 (0)