Ticket #1468: filezilla_size_2.patch

File filezilla_size_2.patch, 390 bytes (added by tommywu, 19 years ago)

splitter position not save correct if site manager not open at startup

  • MainFrm.cpp

    old new  
    32483248*/
    32493249    MoveWindow(m_PosData.NormalRect);
    32503250    if (m_PosData.state==1)
     3251    {
    32513252        ShowWindow(SW_MAXIMIZE);
     3253        if (!COptions::GetOptionVal(OPTION_SHOWSITEMANAGERONSTARTUP))
     3254            m_PosData.cy2-=27;
     3255    }
    32523256    else
    32533257        ShowWindow(SW_RESTORE);
    32543258    //if (!SetWindowPlacement(&placement))