X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fmanager.c;h=6e76605d6663540f1cbbbd15967b5c5c235ce9aa;hb=9105b67fe006fe41c044e3659325594a52d0c899;hp=ba9cfe94c4673898962a6918438cc60734e47b31;hpb=b90019fd4ad05df851fc554c2841c05fd9dcb1fd;p=pspp-builds.git diff --git a/src/output/manager.c b/src/output/manager.c index ba9cfe94..6e76605d 100644 --- a/src/output/manager.c +++ b/src/output/manager.c @@ -1,6 +1,5 @@ /* PSPP - computes sample statistics. Copyright (C) 1997-9, 2000 Free Software Foundation, Inc. - Written by Ben Pfaff . This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -21,6 +20,7 @@ #include "manager.h" #include #include +#include #include "output.h" /* Table. */ @@ -61,10 +61,10 @@ som_blank_line (void) } /* Driver. */ -static struct outp_driver *d=0; +static struct outp_driver *d = 0; /* Table. */ -static struct som_entity *t=0; +static struct som_entity *t = 0; /* Flags. */ static unsigned flags; @@ -110,7 +110,7 @@ som_submit (struct som_entity *t) { printf ("headers: (l,r)=(%d,%d), (t,b)=(%d,%d) in table size (%d,%d)\n", hl, hr, ht, hb, nc, nr); - abort (); + NOT_REACHED (); } else if (hl + hr == nc) printf ("warning: headers (l,r)=(%d,%d) in table width %d\n", hl, hr, nc); @@ -279,7 +279,9 @@ render_segments (void) { assert (d->cp_y); outp_eject_page (d); - } else { + } + else + { t->class->title (x_index ? x_index : y_index, x_index ? y_index : 0); t->class->render (x0, y0, x1, y1);