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

Alexandre Julliard julliard at winehq.org
Thu Mar 27 15:43:29 CDT 2008


Module: wine
Branch: master
Commit: 1bdd2ab628bfca001fda5e6756a8a9eea982d4ba
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1bdd2ab628bfca001fda5e6756a8a9eea982d4ba

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Thu Mar 27 16:32:35 2008 +0100

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

---

 programs/wordpad/print.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/wordpad/print.c b/programs/wordpad/print.c
index 187a9ec..2a44132 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);




More information about the wine-cvs mailing list