[gtk: 1/2] Fix a typo in gsk_border_node_diff




commit 6b48fb767d96ed636c66247da13027c6e3f0e698
Author: Andrey Kozlovskiy <andrononete gmail com>
Date:   Wed Mar 17 15:38:01 2021 +0000

    Fix a typo in gsk_border_node_diff
    
    Typo was introduced in !3278 and results in an incorrect handling of different uniformity.

 gsk/gskrendernodeimpl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/gskrendernodeimpl.c b/gsk/gskrendernodeimpl.c
index 1131df5125..04e9977a52 100644
--- a/gsk/gskrendernodeimpl.c
+++ b/gsk/gskrendernodeimpl.c
@@ -1310,7 +1310,7 @@ gsk_border_node_diff (GskRenderNode  *node1,
     return;
 
   /* Different uniformity -> diff impossible */
-  if (uniform1 ^ uniform1)
+  if (uniform1 ^ uniform2)
     {
       gsk_render_node_diff_impossible (node1, node2, region);
       return;


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