mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- fix drawing on the memory device to be the same as the screen, not that it really matters as it's just test code, but it's always nice to have correct test code ;)
- change typo for compilation unit name svn path=/trunk/; revision=24702
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<library>comctl32</library>
|
||||
<library>shell32</library>
|
||||
<library>comdlg32</library>
|
||||
<compilationunit name="about.c">
|
||||
<compilationunit name="unit.c">
|
||||
<file>about.c</file>
|
||||
<file>floatwindow.c</file>
|
||||
<file>imageprop.c</file>
|
||||
|
||||
@@ -333,6 +333,8 @@ ImageEditWndProc(HWND hwnd,
|
||||
|
||||
hPenOld = SelectObject(hDC,
|
||||
hPen);
|
||||
SelectObject(Info->hDCMem,
|
||||
hPen);
|
||||
|
||||
MoveToEx(hDC,
|
||||
xMouse,
|
||||
@@ -355,7 +357,9 @@ ImageEditWndProc(HWND hwnd,
|
||||
xMouse,
|
||||
yMouse);
|
||||
|
||||
DeleteObject(SelectObject(hDC,
|
||||
SelectObject(hDC,
|
||||
hPenOld);
|
||||
DeleteObject(SelectObject(Info->hDCMem,
|
||||
hPenOld));
|
||||
|
||||
ReleaseDC(Info->hSelf,
|
||||
@@ -532,3 +536,4 @@ UninitImageEditWindowImpl(VOID)
|
||||
UnregisterClass(szImageEditWndClass,
|
||||
hInstance);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user