summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-10-01 07:55:37 -0400
committerTingPing <tingping@tingping.se>2013-10-03 16:23:46 -0400
commitd643056ca03fb0c6265ae33237fde73a3ec4e7bd (patch)
tree7ceef58058b73135405ec266a8ef1fc9d8e47aeb
parentba74e70ec12a97148fd2b86df6f3f89f2e19051a (diff)
Fix loading enchant on Unix
-rw-r--r--src/fe-gtk/sexy-spell-entry.c3
1 files changed, 2 insertions, 1 deletions
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;