Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #627 from bossanova808/master
Browse files Browse the repository at this point in the history
Tiny change - extend weather forecast icon support to 7 days - eden??
  • Loading branch information
mkortstiege committed Jan 18, 2012
2 parents 6df173f + 1510af0 commit 22400aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xbmc/utils/Weather.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ void CWeatherJob::SetFromProperties()
else
m_info.currentHumidity.Format("%s%%",window->GetProperty("Current.Humidity").asString().c_str());
m_info.location = window->GetProperty("Current.Location").asString();
for (int i=0;i<4;++i)
for (int i=0;i<NUM_DAYS;++i)
{
CStdString strDay;
strDay.Format("Day%i.Title",i);
Expand Down
2 changes: 1 addition & 1 deletion xbmc/utils/Weather.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct day_forecast
CStdString m_low;
};

#define NUM_DAYS 4
#define NUM_DAYS 7

class CWeatherInfo
{
Expand Down

0 comments on commit 22400aa

Please sign in to comment.