ConfigData: use std::string for config_param::value

This commit is contained in:
Max Kellermann
2013-10-15 22:32:39 +02:00
parent e13d0bf656
commit 7de96275dd
10 changed files with 44 additions and 33 deletions

View File

@@ -45,7 +45,7 @@ void initAudioConfig(void)
return;
Error error;
if (!audio_format_parse(configured_audio_format, param->value,
if (!audio_format_parse(configured_audio_format, param->value.c_str(),
true, error))
FormatFatalError("error parsing line %i: %s",
param->line, error.GetMessage());