mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-20 22:15:41 +00:00
Merge pull request #532 from PartialVolume/Fix_PDF_page_titles
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
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user