mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:03:12 +00:00
[MSPAINT] Fix SelectionModel::InsertFromHBITMAP bug
CORE-18867, CORE-18920
This commit is contained in:
parent
f45d80adc9
commit
639739a7cd
1 changed files with 1 additions and 1 deletions
|
@ -199,8 +199,8 @@ void SelectionModel::Landing()
|
||||||
|
|
||||||
void SelectionModel::InsertFromHBITMAP(HBITMAP hBm, INT x, INT y)
|
void SelectionModel::InsertFromHBITMAP(HBITMAP hBm, INT x, INT y)
|
||||||
{
|
{
|
||||||
m_hbmColor = CopyDIBImage(hBm);
|
|
||||||
::DeleteObject(m_hbmColor);
|
::DeleteObject(m_hbmColor);
|
||||||
|
m_hbmColor = CopyDIBImage(hBm);
|
||||||
|
|
||||||
m_rc.left = x;
|
m_rc.left = x;
|
||||||
m_rc.top = y;
|
m_rc.top = y;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue