diff --git a/src/distroquery.c b/src/distroquery.c index 1d9376b..b4f47c3 100644 --- a/src/distroquery.c +++ b/src/distroquery.c @@ -525,11 +525,11 @@ void printQueryData() { printf("
"); printf("]]>"); - if (otherresults) + k = query_offset / query_limit + 1; /* k = current shown page */ + if (otherresults || k > 1) printf("