Stop hardcoding plugin extensions everywhere

This commit is contained in:
TingPing committed 2014-06-04 11:15:35 -04:00
1 parent 5849a0588e
commit 11e3ecc739
4 files changed
+13 -64

No files matched your search

+2 -5
View File
@@ -153,11 +153,8 @@ initialize_enchant ()
GModule *enchant;
gpointer funcptr;
#ifdef WIN32
enchant = g_module_open("libenchant.dll", 0);
#else
enchant = g_module_open("libenchant", 0);
#endif
enchant = g_module_open("libenchant."G_MODULE_SUFFIX, 0);
if (enchant == NULL)
{
#ifndef WIN32