Ticket #4596: 4596_diff.2.patch

File 4596_diff.2.patch, 553 bytes (added by Joe Ripley <vitaminjoe@…>, 12 years ago)

Initialize type list for each container first!

  • mythplugins/mythweather/mythweather/weatherSetup.cpp

     
    504504        ti->name = dataitem;
    505505        ti->location = location;
    506506        ti->src = m_src_man->getSourceByName(src);
     507        types = WeatherScreen::getAllDynamicTypes(m_weather_screens.GetSet(name));
    507508
    508509        if (!active_screens.find(draworder))
    509510        {