lcd4l: fix crash

Origin commit data
------------------
Branch: ni/coolstream
Commit: a6e10e415d
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-03-24 (Sun, 24 Mar 2019)

Origin message was:
------------------
- lcd4l: fix crash

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2019-03-24 16:10:46 +01:00
parent 9843755697
commit 56389e2b0b

View File

@@ -1066,7 +1066,7 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
}
std::string wicon = CWeather::getInstance()->getCurrentIcon();
for (int i = 0; i < 1 + forecast; i++)
for (int i = 0; i < forecast; i++)
wicon += "\n" + CWeather::getInstance()->getForecastIcon(i);
if (m_wicon.compare(wicon))
{