forgot that one
authorSylvain Petreolle <spetreolle@yahoo.fr>
Mon, 28 Jan 2008 18:05:54 +0000 (18:05 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Mon, 28 Jan 2008 18:05:54 +0000 (18:05 +0000)
svn path=/trunk/; revision=32038

reactos/base/applications/wordpad/print.c

index 7c5670e..3fb2d7a 100644 (file)
@@ -185,7 +185,7 @@ void target_device(HWND hMainWnd, DWORD wordWrap)
     if(wordWrap == ID_WORDWRAP_MARGIN)
     {
         RECT rc = get_print_rect(hdc);
     if(wordWrap == ID_WORDWRAP_MARGIN)
     {
         RECT rc = get_print_rect(hdc);
-        width = rc.right;
+        width = rc.right - rc.left;
     }
 
     if(!hdc)
     }
 
     if(!hdc)