From c24e24805560a6fe4d8b3438039dda4f552e465b Mon Sep 17 00:00:00 2001 From: PartialVolume <22084881+PartialVolume@users.noreply.github.com> Date: Tue, 28 Nov 2023 21:21:48 +0000 Subject: [PATCH] Make smart page titles consistent with page 1 Should now read Page 1 - Erasure Status Page 2 - Smart Data Page 3 - Smart Data and not as previously Page 1 - Erasure Status Smart Data - Page 2 Smart Data - Page 3 --- src/create_pdf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/create_pdf.c b/src/create_pdf.c index 02bbe1d..754543b 100644 --- a/src/create_pdf.c +++ b/src/create_pdf.c @@ -872,7 +872,7 @@ int nwipe_get_smart_data( nwipe_context_t* c ) page = pdf_append_page( pdf ); /* Create the header and footer for page 2, the start of the smart data */ - snprintf( page_title, sizeof( page_title ), "Smart Data - Page %i", page_number ); + snprintf( page_title, sizeof( page_title ), "Page %i - Smart Data", page_number ); create_header_and_footer( c, page_title ); /* Read the output a line at a time - output it. */ @@ -930,7 +930,7 @@ int nwipe_get_smart_data( nwipe_context_t* c ) y = 630; /* create the header and footer for the next page */ - snprintf( page_title, sizeof( page_title ), "Smart Data - Page %i", page_number ); + snprintf( page_title, sizeof( page_title ), "Page %i - Smart Data", page_number ); create_header_and_footer( c, page_title ); } }