# HG changeset patch # User Matti Hamalainen # Date 1505890149 -10800 # Node ID c29a1078d6012a9179d54c49c5431fc30d58c7e3 # Parent d61405758cc9eabb8da18f8cd2d0c5874d379af7 This page end check is not a kludge anymore, really .. I suppose. diff -r d61405758cc9 -r c29a1078d601 src/printing.cpp --- a/src/printing.cpp Wed Sep 20 09:48:50 2017 +0300 +++ b/src/printing.cpp Wed Sep 20 09:49:09 2017 +0300 @@ -157,9 +157,9 @@ slGetPersonInfoRec(query, info); nperson++; - // Check for end of page - // KLUDGE for now - if (getPageInfo && ctx.lfq(10) >= APP_PRINT_HEIGHT - ctx.boundRect().height() * 1.5f) + // Check for the end of page + if (getPageInfo && ctx.lfq(10) >= + APP_PRINT_HEIGHT - ctx.boundRect().height() * 1.5f) { if (nline > pinfo.nlinesPerPage) pinfo.nlinesPerPage = nline;