[gspell] init: use the gspell_dll variable



commit a6cab3a92a2ba71f93cc3a0a6b568eea88a08990
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sun Feb 28 13:53:46 2016 +0100

    init: use the gspell_dll variable
    
    Not tested.

 gspell/gspell-init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gspell/gspell-init.c b/gspell/gspell-init.c
index f1adc59..0631cdb 100644
--- a/gspell/gspell-init.c
+++ b/gspell/gspell-init.c
@@ -96,7 +96,7 @@ get_locale_dir (void)
 #if defined (G_OS_WIN32)
        gchar *win32_dir;
 
-       win32_dir = g_win32_get_package_installation_directory_of_module (NULL);
+       win32_dir = g_win32_get_package_installation_directory_of_module (gspell_dll);
 
        locale_dir = g_build_filename (win32_dir, "share", "locale", NULL);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]