Code review comment for lp://qastaging/~kroq-gar78/simple-scan/fix-765780

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Hi,

Thanks very much for that! The functionality of the patch is correct, but do you mind changing the way it works? It's a little bit complicated the way it is.

Instead of having the separate loop when get_n_pages() == 1 make make_indexed_file() take a new argument 'n_pages'. If n_pages == 0 then don't modify the name, otherwise put the numeric suffix on it.

Also note the pages should start at one as requested by Michael in the bug report.

review: Needs Fixing

« Back to merge proposal