diff --git a/programs/wordpad/print.c b/programs/wordpad/print.c index 3b78ffae401..6c7c4f630df 100644 --- a/programs/wordpad/print.c +++ b/programs/wordpad/print.c @@ -881,10 +881,7 @@ static LRESULT print_preview(HWND hwndPreview) draw_margin_lines(hdc, x, y, preview.zoomratio); } else { - background.left += 2; - background.right -= 2; - background.top += 2; - background.bottom -= 2; + InflateRect(&background, -2, -2); FillRect(hdc, &background, GetStockObject(WHITE_BRUSH)); } }