mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
convert most char[...] configuration values to std::string
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
This commit is contained in:
@@ -93,8 +93,8 @@ int CUpdateSettings::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
|
||||
if(actionKey == "update_dir") {
|
||||
const char *action_str = "update";
|
||||
if(chooserDir(g_settings.update_dir, true, action_str, sizeof(g_settings.update_dir)-1,true))
|
||||
printf("[neutrino] new %s dir %s\n", action_str, g_settings.update_dir);
|
||||
if(chooserDir(g_settings.update_dir, true, action_str, true))
|
||||
printf("[neutrino] new %s dir %s\n", action_str, g_settings.update_dir.c_str());
|
||||
|
||||
return res;
|
||||
}
|
||||
|
Reference in New Issue
Block a user