diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2007-01-17 16:06:21 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2007-01-17 16:06:21 +0000 |
commit | 9a222cab6c9d0892cf7b28deffd0eb465cd0829b (patch) | |
tree | df77914212fbb837681b7dd6ad02b20e531beee4 /src | |
parent | 298d5ce059b33b226d7e12f82d4535524566752b (diff) | |
download | mpd-9a222cab6c9d0892cf7b28deffd0eb465cd0829b.tar.gz mpd-9a222cab6c9d0892cf7b28deffd0eb465cd0829b.tar.xz mpd-9a222cab6c9d0892cf7b28deffd0eb465cd0829b.zip |
Call initLocalization() earlier so that errors, --version, etc. output
correctly.
git-svn-id: https://svn.musicpd.org/mpd/trunk@5264 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 1166237ec..79600223b 100644 --- a/src/main.c +++ b/src/main.c @@ -421,6 +421,7 @@ int main(int argc, char *argv[]) closeAllFDs(); + initLocalization(); initConf(); parseOptions(argc, argv, &options); @@ -430,7 +431,6 @@ int main(int argc, char *argv[]) initStats(); initTagConfig(); - initLocalization(); initLog(options.verbose); if (options.createDB <= 0 && !options.updateDB) |