From 63012c22504930ef68c86bf7b18afd8cb51a092a Mon Sep 17 00:00:00 2001 From: DeaTh-G Date: Wed, 2 Apr 2025 21:07:43 +0200 Subject: [PATCH] skip 0x200B line split guidance like new line if line starts with it --- UnleashedRecomp/ui/imgui_utils.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/UnleashedRecomp/ui/imgui_utils.cpp b/UnleashedRecomp/ui/imgui_utils.cpp index be085b4..31592bf 100644 --- a/UnleashedRecomp/ui/imgui_utils.cpp +++ b/UnleashedRecomp/ui/imgui_utils.cpp @@ -510,6 +510,11 @@ std::vector Split(const char* strStart, const ImFont* font, float f if (*str == '\n') str++; + if (strncmp(str, "\u200B", 3) == 0) + { + str += 3; + } + lineStart = str; continue; }