Commit 9987c14b authored by Christian Hergert's avatar Christian Hergert
Browse files

buildui: remove duplicate check

\033 and \x01b are both 27 in decimal.
parent 53ea951f
...@@ -396,7 +396,7 @@ find_color_code (IdeBuildLogPanel *self, ...@@ -396,7 +396,7 @@ find_color_code (IdeBuildLogPanel *self,
*start = cursor; *start = cursor;
cursor += 2; cursor += 2;
} }
else if (*cursor == '\033' || *cursor == '\x01b') else if (*cursor == '\033')
{ {
*start = cursor; *start = cursor;
++cursor; ++cursor;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment