Gerald Pfeifer : wordpad: Remove variable bottom which is not really used from print.
Alexandre Julliard
julliard at winehq.org
Wed May 26 11:49:07 CDT 2010
Module: wine
Branch: master
Commit: f26b4f68e74b20995521f5c805062b1d70026614
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f26b4f68e74b20995521f5c805062b1d70026614
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Mon May 24 22:09:16 2010 +0200
wordpad: Remove variable bottom which is not really used from print.
---
programs/wordpad/print.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/programs/wordpad/print.c b/programs/wordpad/print.c
index 226052e..1d4e6e3 100644
--- a/programs/wordpad/print.c
+++ b/programs/wordpad/print.c
@@ -487,7 +487,6 @@ static void print(LPPRINTDLGW pd, LPWSTR wszFileName)
StartDocW(fr.hdc, &di);
do
{
- int bottom = fr.rc.bottom;
if(StartPage(fr.hdc) <= 0)
break;
@@ -495,7 +494,6 @@ static void print(LPPRINTDLGW pd, LPWSTR wszFileName)
if(EndPage(fr.hdc) <= 0)
break;
- bottom = fr.rc.bottom;
printedPages++;
if((pd->Flags & PD_PAGENUMS) && (printedPages > (pd->nToPage - pd->nFromPage)))
More information about the wine-cvs
mailing list