text: Fix font fallback

Spotted by Coverity.

https://bugzilla.gnome.org/show_bug.cgi?id=689496
This commit is contained in:
Jasper St. Pierre 2012-11-30 21:39:10 -05:00
parent fbcab5f097
commit ea2b368af9

View File

@ -5008,7 +5008,7 @@ clutter_text_set_font_name (ClutterText *self,
else else
{ {
/* last fallback */ /* last fallback */
default_font_name = g_strdup ("Sans 12"); font_name = g_strdup ("Sans 12");
} }
is_default_font = TRUE; is_default_font = TRUE;