Avoid Fluent syntax for highlighted text.

This commit is contained in:
Matthias Mailänder
2023-05-21 14:23:36 +02:00
committed by Gustas
parent de9a5eb71e
commit 2a223363b8
10 changed files with 83 additions and 83 deletions

View File

@@ -45,8 +45,8 @@ namespace OpenRA.Mods.Common.Widgets
while (line.Length > 0)
{
var highlightStart = line.IndexOf('{');
var highlightEnd = line.IndexOf('}', 0);
var highlightStart = line.IndexOf('<');
var highlightEnd = line.IndexOf('>', 0);
if (highlightStart > 0 && highlightEnd > highlightStart)
{