wordpad: Fix width when text break = margins.

This commit is contained in:
Alexander Nicolaysen Sørnes 2008-01-13 20:26:40 +01:00 committed by Alexandre Julliard
parent 5a11999b86
commit e1e147da4d
1 changed files with 1 additions and 1 deletions

View 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)