wordpad: Fix width when text break = margins.
This commit is contained in:
parent
5a11999b86
commit
e1e147da4d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue