mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-04-28 13:27:58 +03:00
skip 0x200B line split guidance like new line if line starts with it
This commit is contained in:
parent
d2f28d42f0
commit
63012c2250
1 changed files with 5 additions and 0 deletions
|
@ -510,6 +510,11 @@ std::vector<std::string> Split(const char* strStart, const ImFont* font, float f
|
|||
if (*str == '\n')
|
||||
str++;
|
||||
|
||||
if (strncmp(str, "\u200B", 3) == 0)
|
||||
{
|
||||
str += 3;
|
||||
}
|
||||
|
||||
lineStart = str;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue