summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDom Lachowicz <domlachowicz@gmail.com>2003-10-19 14:48:16 +0000
committerDom Lachowicz <domlachowicz@gmail.com>2003-10-19 14:48:16 +0000
commit1291dbf3e5f5ce466842a565dcfc67f7b52537c0 (patch)
tree3749b2cf10c0b3efedaacae30e482cb89d99915e
parent721715115f0884a957e14f31508e1424dcd503cc (diff)
downloadenchant-1291dbf3e5f5ce466842a565dcfc67f7b52537c0.tar.gz
bug 5941
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@20879 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-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);