mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-02 03:47:58 +03:00
Use std::string_view in Encoding and AGS::draw_text()
This commit is contained in:
@@ -417,7 +417,7 @@ private:
|
||||
}
|
||||
value = value.substr(1, value.size() - 2);
|
||||
|
||||
g_nact->set_string(index, g_nact->encoding->fromUtf8(value.c_str()));
|
||||
g_nact->set_string(index, g_nact->encoding->fromUtf8(value));
|
||||
|
||||
resp["success"] = true;
|
||||
resp["body"] = {
|
||||
|
||||
Reference in New Issue
Block a user