Fix common/message includes

This commit is contained in:
badaix 2023-01-22 11:34:02 +01:00
parent de11cb2d4c
commit 56c8a3f693
12 changed files with 66 additions and 48 deletions

View file

@ -187,7 +187,7 @@ void LibrespotStream::onStderrMsg(const std::string& line)
size_t ms_pos = 0;
size_t n = 0;
if (((title_pos = line.find("<")) != std::string::npos) && ((n = line.find(">", title_pos)) != std::string::npos) &&
((ms_pos = line.find("(", n)) != std::string::npos) && ((n = line.find("ms) loaded", ms_pos)) != std::string::npos))
((ms_pos = line.find("(", n)) != std::string::npos) && ((n = line.find("ms) loaded", ms_pos)) != std::string::npos))
{
title_pos += 1;
std::string title = line.substr(title_pos, line.find(">", title_pos) - title_pos);