SNeutrinoSettings: convert more char[...] configuration values to std::string

This commit is contained in:
M. Liebmann
2014-01-18 17:11:12 +01:00
parent afbd87083b
commit 004aa84e32
7 changed files with 33 additions and 35 deletions

View File

@@ -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;
}