From 1bdd2ab628bfca001fda5e6756a8a9eea982d4ba Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Thu, 27 Mar 2008 16:32:35 +0100 Subject: [PATCH] wordpad: Remove bogus ';' after the if statement. --- programs/wordpad/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/wordpad/print.c b/programs/wordpad/print.c index 187a9ec396a..2a4413208c6 100644 --- a/programs/wordpad/print.c +++ b/programs/wordpad/print.c @@ -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 RightMargin = (int)((float)twips_to_pixels(lpFr->rc.right, GetDeviceCaps(hdc, LOGPIXELSY)) * ratio); - if(*hdcSized); + if(*hdcSized) DeleteDC(*hdcSized); *hdcSized = CreateCompatibleDC(hdc); SelectObject(*hdcSized, hBitmapScaled);