From 64efcf9c0187ac23eccacd3c6e7d30aa0d9a8b4a Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Wed, 15 Sep 2010 10:25:09 +0200 Subject: [PATCH] Bugfixes. --- .gitignore | 1 + src/rptreport.c | 1 - tests/test_rptreport_creation.c | 9 ++++++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a38016e..a3169c8 100644 --- a/.gitignore +++ b/.gitignore @@ -54,3 +54,4 @@ mkinstalldirs stamp-it intltool-* Rules-quot +*.exe diff --git a/src/rptreport.c b/src/rptreport.c index e717023..8a4b340 100644 --- a/src/rptreport.c +++ b/src/rptreport.c @@ -1343,7 +1343,6 @@ xmlDoc } else { - priv->cur_page++; cur_y = priv->page->margin_top; xpage = rpt_report_rptprint_new_page (rpt_report, xroot); diff --git a/tests/test_rptreport_creation.c b/tests/test_rptreport_creation.c index f0b17d5..e85cb77 100644 --- a/tests/test_rptreport_creation.c +++ b/tests/test_rptreport_creation.c @@ -16,7 +16,14 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA */ -#include +#include +#include +#include +#include +#include +#include +#include +#include int main (int argc, char **argv) -- 2.49.0