Bug #306 » Weather.cpp.patch
xbmc/utils/Weather.cpp (working copy) | ||
---|---|---|
//GetString(pElement, "lsup", m_szLastUpdateTime, "");
|
||
GetString(pElement, "icon", iTmpStr, ""); //string cause i've seen it return N/A
|
||
if (iTmpStr == "N/A")
|
||
if (iTmpStr == "")
|
||
m_currentIcon.Format("%s128x128/na.png", WEATHER_BASE_PATH);
|
||
else
|
||
m_currentIcon.Format("%s128x128/%s.png", WEATHER_BASE_PATH, iTmpStr.c_str());
|