[clutter] text: Fix font fallback



commit ea2b368af91f96d9899ba73de1e176d6e100a7b2
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Nov 30 21:39:10 2012 -0500

    text: Fix font fallback
    
    Spotted by Coverity.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=689496

 clutter/clutter-text.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c
index 4f27d72..a228c0c 100644
--- a/clutter/clutter-text.c
+++ b/clutter/clutter-text.c
@@ -5008,7 +5008,7 @@ clutter_text_set_font_name (ClutterText *self,
       else
         {
           /* last fallback */
-          default_font_name = g_strdup ("Sans 12");
+          font_name = g_strdup ("Sans 12");
         }
 
       is_default_font = TRUE;



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