#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


Anonymous


Cancel   Add attachments