mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
convert most char[...] configuration values to std::string
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
Origin commit data
------------------
Commit: cbc9299df8
Author: martii <m4rtii@gmx.de>
Date: 2013-06-11 (Tue, 11 Jun 2013)
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