mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
movieplayer: add missing std
Origin commit data
------------------
Branch: ni/coolstream
Commit: b0560efc31
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-12-27 (Wed, 27 Dec 2017)
Origin message was:
------------------
- movieplayer: add missing std
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -3092,7 +3092,7 @@ void CMoviePlayerGui::showSubtitle(neutrino_msg_data_t data)
|
|||||||
size_t start = 0, end = 0;
|
size_t start = 0, end = 0;
|
||||||
/* split string with \N as newline */
|
/* split string with \N as newline */
|
||||||
std::string delim("\\N");
|
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));
|
subtext.push_back(str.substr(start, end - start));
|
||||||
start = end + 2;
|
start = end + 2;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user