Skip to content

Commit

Permalink
Make lint okay.
Browse files Browse the repository at this point in the history
  • Loading branch information
be1 committed Feb 22, 2024
1 parent d3ffd98 commit b0bac0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/TaskList.vala
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ namespace Agenda {
this.lines_per_page = (int) context.get_height () / line_height;
var n_pages = this.size / this.lines_per_page;
/* do not forget trailing lines */
n_pages += (this.size % this.lines_per_page) > 0 ? 1 : 0;
n_pages += (this.size % this.lines_per_page) > 0 ? 1 : 0;

debug ("Setting number of pages to %d", n_pages);
print.set_n_pages (n_pages);
Expand Down

0 comments on commit b0bac0a

Please sign in to comment.