mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
SNeutrinoSettings: convert more char[...] configuration values to std::string
This commit is contained in:
@@ -107,7 +107,7 @@ int CUpdateSettings::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
fileFilter.addFilter("urls");
|
||||
fileBrowser.Filter = &fileFilter;
|
||||
if (fileBrowser.exec("/var/etc") == true)
|
||||
strncpy(g_settings.softupdate_url_file, fileBrowser.getSelectedFile()->Name.c_str(), 30);
|
||||
g_settings.softupdate_url_file = fileBrowser.getSelectedFile()->Name;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
Reference in New Issue
Block a user