[chronojump] Fix to previous commit



commit 700a8a1d139f56814e76b15f76e388fc0be294af
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu May 20 13:45:18 2021 +0200

    Fix to previous commit

 src/utilGtk.cs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/utilGtk.cs b/src/utilGtk.cs
index 01704e864..670a39ce1 100644
--- a/src/utilGtk.cs
+++ b/src/utilGtk.cs
@@ -746,12 +746,12 @@ public class UtilGtk
 
        public static string IdentifyPixelColor(uint col)
        {
-               if(px == 16777215)
+               if(col == 16777215)
                        return "WHITE";
-               else if(px == 11722734)
+               else if(col == 11722734)
                        return "LIGHT_BLUE_PLOTS"; //force sensor feedback rectangle and path
-               else if(px == 6710886)
-                       return "GRAY"); //lines on force sensor capture
+               else if(col == 6710886)
+                       return "GRAY"; //lines on force sensor capture
                else
                        return "other";
        }


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