forgot that one

svn path=/trunk/; revision=32038
This commit is contained in:
Sylvain Petreolle 2008-01-28 18:05:54 +00:00
parent 848daa0d10
commit 4ec56a71ac

View file

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