From: Marijn van Vliet Date: Tue, 17 Nov 2009 12:39:56 +0000 (+0000) Subject: Small bug in get_current_font() X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=1acbb531d46b046cf124a8c24ad6d16a1c3856aa;p=rodin%2Fchimara.git Small bug in get_current_font() git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@174 ddfedd41-794f-dd11-ae45-00112f111e67 --- diff --git a/libchimara/style.c b/libchimara/style.c index 034dfd5..24e9833 100644 --- a/libchimara/style.c +++ b/libchimara/style.c @@ -828,10 +828,10 @@ get_current_font(guint32 wintype) switch(wintype) { case wintype_TextGrid: - normal = g_hash_table_lookup(glk_data->default_styles->text_grid, "normal"); + normal = g_hash_table_lookup(glk_data->current_styles->text_grid, "normal"); break; case wintype_TextBuffer: - normal = g_hash_table_lookup(glk_data->default_styles->text_buffer, "normal"); + normal = g_hash_table_lookup(glk_data->current_styles->text_buffer, "normal"); break; default: return NULL;