Keep the number of lines to flip as a negative num

Keep track of the number of lines to flip on the reverse page using a negative
number.  This uses the ill-advised principle of overloading the meaning of a
variable.  Still, it kind of makes sense because these lines are upside down,
so the number should be "upside down" too.  Besides, leaving it as a positive
number trips up the code which does page padding, which would require even
more special case code.
merge-requests/1/head
Mike Kelly 2012-03-21 21:06:00 -07:00
rodzic 0245820f6b
commit 557d60f156
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -7486,7 +7486,7 @@ reader_process (void *data)
}
/* we can set anything here without fear because the process will terminate soon and take our changes with it */
s->page += 1;
s->params.lines = line;
s->params.lines = -line;
exit_status = reader_process (s);
}
/* TODO: