wordpad: Remove bogus ';' after the if statement.
This commit is contained in:
parent
819d16729d
commit
1bdd2ab628
|
@ -629,7 +629,7 @@ void draw_preview_page(HDC hdc, HDC* hdcSized, FORMATRANGE* lpFr, float ratio, i
|
||||||
int LeftMargin = (int)((float)twips_to_pixels(lpFr->rc.left, GetDeviceCaps(hdc, LOGPIXELSY)) * ratio);
|
int LeftMargin = (int)((float)twips_to_pixels(lpFr->rc.left, GetDeviceCaps(hdc, LOGPIXELSY)) * ratio);
|
||||||
int RightMargin = (int)((float)twips_to_pixels(lpFr->rc.right, GetDeviceCaps(hdc, LOGPIXELSY)) * ratio);
|
int RightMargin = (int)((float)twips_to_pixels(lpFr->rc.right, GetDeviceCaps(hdc, LOGPIXELSY)) * ratio);
|
||||||
|
|
||||||
if(*hdcSized);
|
if(*hdcSized)
|
||||||
DeleteDC(*hdcSized);
|
DeleteDC(*hdcSized);
|
||||||
*hdcSized = CreateCompatibleDC(hdc);
|
*hdcSized = CreateCompatibleDC(hdc);
|
||||||
SelectObject(*hdcSized, hBitmapScaled);
|
SelectObject(*hdcSized, hBitmapScaled);
|
||||||
|
|
Loading…
Reference in New Issue