GUI: U32: Fix problems with u32strings formatting
- Improve U32's format helper - Add insertString helper to u32
This commit is contained in:
parent
0118839c59
commit
1ca1712b4d
5 changed files with 61 additions and 56 deletions
|
@ -99,8 +99,8 @@ AboutDialog::AboutDialog()
|
|||
version += gScummVMVersion;
|
||||
_lines.push_back(version);
|
||||
|
||||
Common::U32String date = Common::String::format(_("(built on %s)").encode().c_str(), gScummVMBuildDate);
|
||||
_lines.push_back(U32String("C2") + date);
|
||||
Common::U32String date = Common::U32String::format(_("(built on %s)"), gScummVMBuildDate);
|
||||
_lines.push_back(U32String("C2") + date);
|
||||
|
||||
for (i = 0; i < ARRAYSIZE(copyright_text); i++)
|
||||
addLine(U32String(copyright_text[i]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue