summaryrefslogtreecommitdiff
path: root/src/aspell/aspell_provider.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/aspell/aspell_provider.c')
-rw-r--r--src/aspell/aspell_provider.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aspell/aspell_provider.c b/src/aspell/aspell_provider.c
index c25ccc1..2717687 100644
--- a/src/aspell/aspell_provider.c
+++ b/src/aspell/aspell_provider.c
@@ -205,7 +205,7 @@ aspell_provider_dictionary_exists (struct str_enchant_provider * me,
/* hack for a quick existence test */
ext = g_strdup_printf ("%s.multi", tag);
- file = g_build_filename (ASPELL_DICT_DIR, ext);
+ file = g_build_filename (ASPELL_DICT_DIR, ext, NULL);
if (g_file_test (file, G_FILE_TEST_EXISTS))
exists = 1;
g_free (file);
@@ -213,7 +213,7 @@ aspell_provider_dictionary_exists (struct str_enchant_provider * me,
if (strlen (tag) > 2 && tag[2] == '_') {
ext = g_strdup_printf ("%c%c.multi", tag[0], tag[1]);
- file = g_build_filename (ASPELL_DICT_DIR, ext);
+ file = g_build_filename (ASPELL_DICT_DIR, ext, NULL);
if (g_file_test (file, G_FILE_TEST_EXISTS))
exists = 1;
g_free (file);