wordpad: Remove bogus ';' after the if statement.

This commit is contained in:
Michael Stefaniuc 2008-03-27 16:32:35 +01:00 committed by Alexandre Julliard
parent 819d16729d
commit 1bdd2ab628
1 changed files with 1 additions and 1 deletions

View File

@ -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);