Project

General

Profile

Bug #306 » Weather.cpp.patch

brentdc42, 01/07/2014 03:36 AM

View differences:

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());
(2-2/3)