zapit/getservices: fix currentservices.xml format for cable and terrestrial

Origin commit data
------------------
Commit: 7a698eed50
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-10-22 (Mon, 22 Oct 2018)

Origin message was:
------------------
- zapit/getservices: fix currentservices.xml format for cable and terrestrial
This commit is contained in:
vanhofen
2018-10-22 23:47:00 +02:00
parent a8a3a23a9c
commit b6238333e6

View File

@@ -1257,11 +1257,11 @@ bool CServiceManager::SaveCurrentServices(transponder_id_t tpid)
footer = "</sat>";
}
else if (CFrontend::isCable(tI->second.feparams.delsys)) {
sprintf(satstr, "\t<%s name=\"%s\"\n", "cable", spos_it->second.name.c_str());
sprintf(satstr, "\t<%s name=\"%s\">\n", "cable", spos_it->second.name.c_str());
footer = "</cable>";
}
else if (CFrontend::isTerr(tI->second.feparams.delsys)) {
sprintf(satstr, "\t<%s name=\"%s\"\n", "terrestrial", spos_it->second.name.c_str());
sprintf(satstr, "\t<%s name=\"%s\">\n", "terrestrial", spos_it->second.name.c_str());
footer = "</terrestrial>";
}