mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 18:18:18 +00:00
e3cfb23f28
2742: Add str_utf8_copy that trim broken utf8 sequence at the end. r=heinrich5991 a=TsFreddie Currently this replaces `str_copy` text input and clipboard paste in chat. Many places may need the same treatments, like steam names. ![image](https://user-images.githubusercontent.com/3797859/92263741-08b8e080-eed5-11ea-84a5-b7f070ded260.png) Test string: abcd今天是个好日子心想的事儿都能成今天是个好日子打开了家门咱迎春风今天是个好日子心想的事儿都能成今天是个好日子打开了家门咱迎春风今天是个好日子心想的事儿都能成今天是个好日子打 2745: Update mapres by mind r=heinrich5991 a=def- Adapted from 0.7 for new renderer. Not sure if this makes sense :D Co-authored-by: TsFreddie <tsfreddiewang@gmail.com> Co-authored-by: def <dennis@felsin9.de> |
||
---|---|---|
.. | ||
aio.cpp | ||
bezier.cpp | ||
color.cpp | ||
csv.cpp | ||
datafile.cpp | ||
fs.cpp | ||
git_revision.cpp | ||
hash.cpp | ||
jobs.cpp | ||
json.cpp | ||
mapbugs.cpp | ||
name_ban.cpp | ||
packer.cpp | ||
prng.cpp | ||
str.cpp | ||
strip_path_and_extension.cpp | ||
teehistorian.cpp | ||
test.cpp | ||
test.h | ||
thread.cpp | ||
unix.cpp |