Commit f26b4f68 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

wordpad: Remove variable bottom which is not really used from print.

parent 72216a60
...@@ -487,7 +487,6 @@ static void print(LPPRINTDLGW pd, LPWSTR wszFileName) ...@@ -487,7 +487,6 @@ static void print(LPPRINTDLGW pd, LPWSTR wszFileName)
StartDocW(fr.hdc, &di); StartDocW(fr.hdc, &di);
do do
{ {
int bottom = fr.rc.bottom;
if(StartPage(fr.hdc) <= 0) if(StartPage(fr.hdc) <= 0)
break; break;
...@@ -495,7 +494,6 @@ static void print(LPPRINTDLGW pd, LPWSTR wszFileName) ...@@ -495,7 +494,6 @@ static void print(LPPRINTDLGW pd, LPWSTR wszFileName)
if(EndPage(fr.hdc) <= 0) if(EndPage(fr.hdc) <= 0)
break; break;
bottom = fr.rc.bottom;
printedPages++; printedPages++;
if((pd->Flags & PD_PAGENUMS) && (printedPages > (pd->nToPage - pd->nFromPage))) if((pd->Flags & PD_PAGENUMS) && (printedPages > (pd->nToPage - pd->nFromPage)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment