Migrate last strings
FossilOrigin-Name: b81e2948d74e606b374ad69956719d748340eb128dc5e4c732781a2de71c2ba2
This commit is contained in:
parent
71fff6f9a1
commit
9dff5ec70c
6 changed files with 76 additions and 69 deletions
|
@ -47,8 +47,10 @@ sendstring(OFString *t_, uchar *&p)
|
|||
{
|
||||
@autoreleasepool {
|
||||
const char *t = t_.UTF8String;
|
||||
while (*t)
|
||||
|
||||
for (size_t i = 0; i < _MAXDEFSTR && *t != '\0'; i++)
|
||||
putint(p, *t++);
|
||||
|
||||
putint(p, 0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue