Migrate more strings

FossilOrigin-Name: fa4b03aacafc3bab0a52c144241ab665332f7e8e789eb17fff63f76e02e2d5c9
This commit is contained in:
Jonathan Schleifer 2025-03-08 00:48:42 +00:00
parent daeb76f126
commit 745514762e
15 changed files with 154 additions and 134 deletions

View file

@ -191,7 +191,7 @@ sendmap(OFString *mapname)
uchar *start = packet->data;
uchar *p = start + 2;
putint(p, SV_SENDMAP);
sendstring(mapname.UTF8String, p);
sendstring(mapname, p);
putint(p, mapdata.count);
if (65535 - (p - start) < mapdata.count) {
conoutf(@"map %@ is too large to send", mapname);