mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-21 07:22:21 +00: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')
|
if (*str == '\n')
|
||||||
str++;
|
str++;
|
||||||
|
|
||||||
|
if (strncmp(str, "\u200B", 3) == 0)
|
||||||
|
{
|
||||||
|
str += 3;
|
||||||
|
}
|
||||||
|
|
||||||
lineStart = str;
|
lineStart = str;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue