forgot that one
[reactos.git] / 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);
-        width = rc.right;
+        width = rc.right - rc.left;
     }
 
     if(!hdc)