[gnome-builder] buildui: remove duplicate check



commit 9987c14bda04e9260a2363f4307896c6114a1ae8
Author: Christian Hergert <chergert redhat com>
Date:   Wed Feb 15 11:23:20 2017 -0800

    buildui: remove duplicate check
    
    \033 and \x01b are both 27 in decimal.

 libide/buildui/ide-build-log-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/buildui/ide-build-log-panel.c b/libide/buildui/ide-build-log-panel.c
index ad6ea8b..5d5abd6 100644
--- a/libide/buildui/ide-build-log-panel.c
+++ b/libide/buildui/ide-build-log-panel.c
@@ -396,7 +396,7 @@ find_color_code (IdeBuildLogPanel  *self,
           *start = cursor;
           cursor += 2;
         }
-      else if (*cursor == '\033' || *cursor == '\x01b')
+      else if (*cursor == '\033')
         {
           *start = cursor;
           ++cursor;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]