From 99a6645142a7dd6efd8d0386b6ad0c2b9221c393 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 13 Nov 2000 01:52:41 +0000 Subject: [PATCH] Forgot to call formats_init() / ..deinit() git-svn-id: http://svn.irssi.org/repos/irssi/trunk@837 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/fe-common-core.c | 3 +++ src/fe-common/core/formats.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/fe-common/core/fe-common-core.c b/src/fe-common/core/fe-common-core.c index b13aff10..2b04053f 100644 --- a/src/fe-common/core/fe-common-core.c +++ b/src/fe-common/core/fe-common-core.c @@ -29,6 +29,7 @@ #include "completion.h" #include "keyboard.h" #include "printtext.h" +#include "formats.h" #include "themes.h" #include "translation.h" #include "windows.h" @@ -104,6 +105,7 @@ void fe_common_core_init(void) hilight_text_init(); keyboard_init(); printtext_init(); + formats_init(); fe_channels_init(); fe_queries_init(); fe_ignore_init(); @@ -131,6 +133,7 @@ void fe_common_core_deinit(void) completion_deinit(); keyboard_deinit(); printtext_deinit(); + formats_deinit(); fe_channels_deinit(); fe_queries_deinit(); fe_ignore_deinit(); diff --git a/src/fe-common/core/formats.h b/src/fe-common/core/formats.h index 52c5cc24..5819353e 100644 --- a/src/fe-common/core/formats.h +++ b/src/fe-common/core/formats.h @@ -86,4 +86,7 @@ void format_send_to_gui(TEXT_DEST_REC *dest, const char *text); #define FORMAT_STYLE_DEFAULTS (0x05 + FORMAT_STYLE_SPECIAL) int format_expand_styles(GString *out, char format, TEXT_DEST_REC *dest); +void formats_init(void); +void formats_deinit(void); + #endif