#238 Bug in CDialogBaseUnits::MapDialogUnitsY

v1.0 (example)
closed-fixed
None
5
2014-02-17
2010-08-07
emymrin
No

File: atldlgs.h
Class: CDialogBaseUnits

CDialogBaseUnits::MapDialogUnitsY has a typo. It uses m_sizeUnits.cx instead of m_sizeUnits.cy

INT MapDialogUnitsY(INT y) const
{
return ::MulDiv(y, m_sizeUnits.cx, 8); // DLU to Pixels Y
}

Discussion

  • Nenad Stefanovic

    • assigned_to: nobody --> nenadstefanovic
     
  • Nenad Stefanovic

    • status: open --> closed-fixed
    • Group: --> v1.0 (example)
     
  • Nenad Stefanovic

    Thanks!

    Fixed in atldlgs.h, commit #478

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks