diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-10-04 14:15:43 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-10-04 14:15:43 +0100 |
| commit | b715ab435c30bd3dd2f4f83913d407ab61176393 (patch) | |
| tree | 496f39de8062b3013881b6845c2d327ca2194fad /src/lib | |
| parent | 36a6724d5a4c964792e242a3806f3d18e9018860 (diff) | |
Windows build fix.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/config.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc index e53e15a81..ba899fe57 100644 --- a/src/lib/config.cc +++ b/src/lib/config.cc @@ -52,7 +52,7 @@ Config* Config::_instance = 0; Config::Config () : _num_local_encoding_threads (max (2U, boost::thread::hardware_concurrency())) , _server_port (6192) - , _tms_path (N_(".")) + , _tms_path (".") , _sound_processor (SoundProcessor::from_id (N_("dolby_cp750"))) , _default_still_length (10) , _default_container (Ratio::from_id ("185")) @@ -151,7 +151,7 @@ Config::read () void Config::read_old_metadata () { - ifstream f (file(true).c_str ()); + ifstream f (file(true).string().c_str ()); string line; while (getline (f, line)) { |
