From: rodin Date: Tue, 17 Nov 2009 12:39:56 +0000 (+0000) Subject: Small bug in get_current_font() X-Git-Tag: v0.9~291 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=01ae0661a4969da6fb43ee6d719dc1e443a067f9;p=projects%2Fchimara%2Fchimara.git Small bug in get_current_font() --- 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;