X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Ftable.c;h=d488f3aa68b60e590709b442cc79e3e433d620c4;hb=7693a37f77880e38d26af908cdb21710d631ad5a;hp=a6e9f66f80e8b4e90d1e57fc94aeb4bafe2f6c91;hpb=480a0746507ce73d26f528b56dc3ed80195096e0;p=pspp diff --git a/src/output/table.c b/src/output/table.c index a6e9f66f80..d488f3aa68 100644 --- a/src/output/table.c +++ b/src/output/table.c @@ -274,7 +274,7 @@ tab_hline (struct tab_table * t, int style, int x1, int x2, int y) y += t->row_ofs; assert (y >= 0); - assert (y < t->nr); + assert (y <= t->nr); assert (x2 >= x1 ); assert (x1 >= 0 ); assert (x2 < t->nc);