mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Use compile-time Unicode string conversion
Thanks to this syntax introduced in C++11, this reduces the amount of work that needs to be performed at run-time while making the code more terse.
This commit is contained in:
@@ -348,7 +348,7 @@ void ScriptCreateDialog::_template_changed(int p_template) {
|
||||
}
|
||||
}
|
||||
// Update template label information.
|
||||
String template_info = String::utf8("• ");
|
||||
String template_info = U"• ";
|
||||
template_info += TTR("Template:");
|
||||
template_info += " " + sinfo.name;
|
||||
if (!sinfo.description.is_empty()) {
|
||||
|
||||
Reference in New Issue
Block a user