Avoid Fluent syntax for highlighted text.
This commit is contained in:
committed by
Gustas
parent
de9a5eb71e
commit
2a223363b8
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user