Merge branch 'master' into pu/mp

This commit is contained in:
Jacek Jendrzej
2017-10-02 13:56:25 +02:00
38 changed files with 68 additions and 68 deletions

View File

@@ -843,7 +843,7 @@ bool CMoviePlayerGui::luaGetUrl(const std::string &script, const std::string &fi
return false;
}
string errMsg = "";
std::string errMsg = "";
Json::Value root;
bool ok = parseJsonFromString(result_string, &root, &errMsg);
if (!ok) {
@@ -2619,7 +2619,7 @@ void CMoviePlayerGui::showSubtitle(neutrino_msg_data_t data)
size_t start = 0, end = 0;
/* split string with \N as newline */
std::string delim("\\N");
while ((end = str.find(delim, start)) != string::npos) {
while ((end = str.find(delim, start)) != std::string::npos) {
subtext.push_back(str.substr(start, end - start));
start = end + 2;
}