Fix one more instance of explicit directory separator to use G_DIR_SEPARATOR_S instead

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14712 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2006-08-22 20:08:08 +00:00
parent 2648783526
commit 9b8f8ea2f5

View File

@ -667,7 +667,8 @@ gnc_file_be_remove_old_files(FileBackend *be)
if (gnc_file_be_select_files (dent) == 0)
continue;
name = g_strconcat(be->dirname, "/", dent->d_name, NULL);
/* G_DIR_SEPARATOR_S is "/" on unix and "\\" on windows. */
name = g_strconcat(be->dirname, G_DIR_SEPARATOR_S, dent->d_name, NULL);
len = strlen(name) - 4;
/* Is this file associated with the current data file */