Ticket #3423: filezilla-01-iter++.diff

File filezilla-01-iter++.diff, 652 bytes (added by nonsea, 14 years ago)

patch for this bug

  • trunk/src/interface/QueueView.cpp

     
    27912791
    27922792    t_EngineData* pEngineData = *ppEngineData;
    27932793
    2794     for (std::vector<t_EngineData*>::iterator iter = ++m_engineData.begin(); iter != m_engineData.end(); iter++)
     2794    std::vector<t_EngineData*>::iterator tmp_iter = m_engineData.begin();
     2795    for (std::vector<t_EngineData*>::iterator iter = ++tmp_iter; iter != m_engineData.end(); iter++)
    27952796    {
    27962797        t_EngineData* pNewEngineData = *iter;
    27972798        if (pNewEngineData == pEngineData)