Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#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

    • assigned_to: nobody --> nenadstefanovic
     
    • status: open --> closed-fixed
    • Group: --> v1.0 (example)
     
  • Thanks!

    Fixed in atldlgs.h, commit #478