projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
attempt to convert most of this mess into something which at least look like C code
[reactos.git]
/
reactos
/
base
/
applications
/
paint
/
selection.c
diff --git
a/reactos/base/applications/paint/selection.c
b/reactos/base/applications/paint/selection.c
index
d628a18
..
6d605a1
100644
(file)
--- a/
reactos/base/applications/paint/selection.c
+++ b/
reactos/base/applications/paint/selection.c
@@
-28,8
+28,8
@@
LRESULT CALLBACK SelectionWinProc (HWND hwnd, UINT message, WPARAM wParam, LPARA
{
if (!moving)
{
- DefWindowProc (hwnd, message, wParam, lParam);
HDC hdc=GetDC(hwnd);
+ DefWindowProc (hwnd, message, wParam, lParam);
SelectionFrame(hdc, 1, 1, rectSel_dest[2]*zoom/1000+5, rectSel_dest[3]*zoom/1000+5);
ReleaseDC(hwnd, hdc);
}