lyrics fetcher: fix a typo
This commit is contained in:
@@ -221,7 +221,7 @@ void MetrolyricsFetcher::postProcess(std::string &data)
|
|||||||
{
|
{
|
||||||
// throw away [ from ... ] info
|
// throw away [ from ... ] info
|
||||||
size_t i = data.find('['), j = data.find(']');
|
size_t i = data.find('['), j = data.find(']');
|
||||||
if (i != std::string::npos && i != std::string::npos)
|
if (i != std::string::npos && j != std::string::npos)
|
||||||
data.replace(i, j-i+1, "");
|
data.replace(i, j-i+1, "");
|
||||||
// some of lyrics have both \n chars and <br />, html tags
|
// some of lyrics have both \n chars and <br />, html tags
|
||||||
// are always present whereas \n chars are not, so we need to
|
// are always present whereas \n chars are not, so we need to
|
||||||
|
|||||||
Reference in New Issue
Block a user