From 1acbb531d46b046cf124a8c24ad6d16a1c3856aa Mon Sep 17 00:00:00 2001 From: Marijn van Vliet Date: Tue, 17 Nov 2009 12:39:56 +0000 Subject: [PATCH] Small bug in get_current_font() git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@174 ddfedd41-794f-dd11-ae45-00112f111e67 --- libchimara/style.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2