diff --git a/WindowsProject1/WindowsProject1.cpp b/WindowsProject1/WindowsProject1.cpp index c6d8dce..171db87 100644 --- a/WindowsProject1/WindowsProject1.cpp +++ b/WindowsProject1/WindowsProject1.cpp @@ -163,12 +163,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) LineTo(hdc, 200, 100); LineTo(hdc, 300, 200); - // окно домика - MoveToEx(hdc, 150, 250, NULL); - LineTo(hdc, 200, 250); - LineTo(hdc, 200, 290); - LineTo(hdc, 150, 290); - LineTo(hdc, 150, 250); + MoveToEx(hdc, 170, 250, NULL); LineTo(hdc, 170, 290);