Use std::string_view in Encoding and AGS::draw_text()

This commit is contained in:
kichikuou
2026-05-02 11:35:03 +09:00
parent 0461d95999
commit 8212548376
12 changed files with 80 additions and 77 deletions
+1 -1
View File
@@ -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"] = {