Safe copy to scanSettings.satNameNoDiseqc

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1299 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 8de1e6cc0d
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2011-03-16 (Wed, 16 Mar 2011)
This commit is contained in:
[CST] Focus
2011-03-16 10:50:26 +00:00
parent 8e0b50f8d3
commit e211577d99

View File

@@ -654,7 +654,7 @@ void CNeutrinoApp::InitScanSettings(CMenuWidget &settings)
if (!sfound && satellitePositions.size()) {
sit = satellitePositions.begin();
strcpy(scanSettings.satNameNoDiseqc, sit->second.name.c_str());
snprintf(scanSettings.satNameNoDiseqc, sizeof(scanSettings.satNameNoDiseqc), "%s", sit->second.name.c_str());
}
CMenuWidget* manualScan = new CMenuWidget(LOCALE_SATSETUP_MANUAL_SCAN, NEUTRINO_ICON_SETTINGS, max_txt_w);