[gnome-text-editor] recoloring: fix variant detection



commit 62481ad41528e0d091a18509097a3a278e0fca0d
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jul 28 01:37:00 2022 -0700

    recoloring: fix variant detection
    
    Fixes #442

 src/editor-recoloring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/editor-recoloring.c b/src/editor-recoloring.c
index c87e036..44d0517 100644
--- a/src/editor-recoloring.c
+++ b/src/editor-recoloring.c
@@ -366,6 +366,6 @@ _editor_source_style_scheme_get_variant (GtkSourceStyleScheme *scheme,
     return ret;
 
   /* Fallback to what we were provided */
-  return ret;
+  return scheme;
 }
 


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