convert most char[...] configuration values to std::string

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
This commit is contained in:
martii
2013-06-11 13:32:19 +02:00
committed by Jacek Jendrzej
parent fce161b70b
commit cbc9299df8
40 changed files with 483 additions and 470 deletions

View File

@@ -75,8 +75,8 @@ int CPictureViewerSetup::exec(CMenuTarget* parent, const std::string &actionKey)
parent->hide();
CFileBrowser b;
b.Dir_Mode=true;
if (b.exec(g_settings.network_nfs_picturedir))
strncpy(g_settings.network_nfs_picturedir, b.getSelectedFile()->Name.c_str(), sizeof(g_settings.network_nfs_picturedir)-1);
if (b.exec(g_settings.network_nfs_picturedir.c_str()))
g_settings.network_nfs_picturedir = b.getSelectedFile()->Name;
return res;
}