summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-02-17 14:42:53 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-02-17 14:42:53 +0000
commiteffd1185a44ed1c8a24ca6f9d26d0810914e87c1 (patch)
tree9676ee82c300ad3b2c962d631f8d6972ca6e0a21
parentc02ac34c6580fae4375032c9de6abd152d2bd756 (diff)
downloadirssi-effd1185a44ed1c8a24ca6f9d26d0810914e87c1.zip
fixed a compiler warning
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2500 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/fe-text/gui-printtext.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-text/gui-printtext.c b/src/fe-text/gui-printtext.c
index affd2b9f..5aa8dddc 100644
--- a/src/fe-text/gui-printtext.c
+++ b/src/fe-text/gui-printtext.c
@@ -83,7 +83,8 @@ void gui_set_default_indent(const char *name)
list = name == NULL ? NULL :
g_hash_table_lookup(indent_functions, name);
- default_indent_func = list == NULL ? NULL : list->data;
+ default_indent_func = list == NULL ? NULL :
+ (INDENT_FUNC) list->data;
gui_windows_reset_settings();
}