From: Sylvain Petreolle Date: Mon, 28 Jan 2008 18:05:54 +0000 (+0000) Subject: forgot that one X-Git-Tag: backups/hyperion@33110~976 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=4ec56a71ac2d89441afb42a2a8521fefec5dc6f9 forgot that one svn path=/trunk/; revision=32038 --- diff --git a/reactos/base/applications/wordpad/print.c b/reactos/base/applications/wordpad/print.c index 7c5670e0433..3fb2d7a8afd 100644 --- a/reactos/base/applications/wordpad/print.c +++ b/reactos/base/applications/wordpad/print.c @@ -185,7 +185,7 @@ void target_device(HWND hMainWnd, DWORD wordWrap) if(wordWrap == ID_WORDWRAP_MARGIN) { RECT rc = get_print_rect(hdc); - width = rc.right; + width = rc.right - rc.left; } if(!hdc)