From d643056ca03fb0c6265ae33237fde73a3ec4e7bd Mon Sep 17 00:00:00 2001 From: TingPing Date: Tue, 1 Oct 2013 07:55:37 -0400 Subject: Fix loading enchant on Unix --- src/fe-gtk/sexy-spell-entry.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fe-gtk/sexy-spell-entry.c b/src/fe-gtk/sexy-spell-entry.c index ab509077..13705812 100644 --- a/src/fe-gtk/sexy-spell-entry.c +++ b/src/fe-gtk/sexy-spell-entry.c @@ -159,8 +159,9 @@ initialize_enchant () enchant = g_module_open("libenchant.so.1", 0); if (enchant == NULL) return; -#endif +#else return; +#endif } have_enchant = TRUE; -- cgit 1.4.1