Commit e1e147da authored by Alexander Nicolaysen Sørnes's avatar Alexander Nicolaysen Sørnes Committed by Alexandre Julliard

wordpad: Fix width when text break = margins.

parent 5a11999b
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment