diff options
Diffstat (limited to '')
-rw-r--r-- | src/directory.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/directory.c b/src/directory.c index 43843f302..4c94e6be9 100644 --- a/src/directory.c +++ b/src/directory.c @@ -1178,12 +1178,8 @@ int readDirectoryDB(void) foundFsCharset = 1; - fsCharset = - &(buffer - [strlen(DIRECTORY_FS_CHARSET)]); - if ((tempCharset = - getConfigParamValue - (CONF_FS_CHARSET)) + fsCharset = &(buffer[strlen(DIRECTORY_FS_CHARSET)]); + if ((tempCharset = getConfigParamValue(CONF_FS_CHARSET)) && strcmp(fsCharset, tempCharset)) { WARNING("Using \"%s\" for the " "filesystem charset " |