diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2007-04-26 00:48:37 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2007-04-26 00:48:37 +0000 |
commit | f63c6ca86d9e1f7e2736df4e66e3fa96ec2890f1 (patch) | |
tree | e1caa0cf5a3b6f1dfbd95ac7bf7877caf2b7a2fd /src | |
parent | 472e70e74e49292640ab66db8d3b76b8b2f555a1 (diff) | |
download | mpd-f63c6ca86d9e1f7e2736df4e66e3fa96ec2890f1.tar.gz mpd-f63c6ca86d9e1f7e2736df4e66e3fa96ec2890f1.tar.xz mpd-f63c6ca86d9e1f7e2736df4e66e3fa96ec2890f1.zip |
Fixing some code that was rendered unreadable by indent.
git-svn-id: https://svn.musicpd.org/mpd/trunk@5955 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-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 " |