mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:07:45 +00:00
Applications: Stop lying about string types
This commit is contained in:
parent
5ff80b60cf
commit
a45682dcdc
3 changed files with 3 additions and 3 deletions
|
@ -97,7 +97,7 @@ public:
|
|||
if (m_piece_set_name == piece_set_name.view())
|
||||
return {};
|
||||
|
||||
m_piece_set_name = TRY(String::from_utf8(piece_set_name));
|
||||
m_piece_set_name = TRY(String::from_deprecated_string(piece_set_name));
|
||||
m_piece_images.clear();
|
||||
|
||||
m_piece_images.set({ Chess::Color::White, Chess::Type::Pawn }, TRY(load_piece_image(m_piece_set_name, "white-pawn.png"sv)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue