X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Foutput%2Frender-test.c;h=19bb0ccfab5321a8312b015bfe466ec43e5009f6;hb=2b220b7c394c841b1420db87029556d43e39ee0f;hp=35400216541d52a24ad5ba2160f9835dc1ebbef2;hpb=f919c4f6194066290f88e4852016428832d01aa1;p=pspp diff --git a/tests/output/render-test.c b/tests/output/render-test.c index 3540021654..19bb0ccfab 100644 --- a/tests/output/render-test.c +++ b/tests/output/render-test.c @@ -346,7 +346,7 @@ replace_newlines (char *p) { char *q; - for (q = p; *p != '\0'; ) + for (q = p; *p != '\0';) if (*p == '\\' && p[1] == 'n') { *q++ = '\n'; @@ -422,24 +422,24 @@ read_table (FILE *stream) switch (*text++) { case '<': - table_vline (tab, TAL_1, c, r, r + rs - 1); + table_vline (tab, TABLE_STROKE_SOLID, c, r, r + rs - 1); break; case '>': - table_vline (tab, TAL_1, c + cs, r, r + rs - 1); + table_vline (tab, TABLE_STROKE_SOLID, c + cs, r, r + rs - 1); break; case '^': - table_hline (tab, TAL_1, c, c + cs - 1, r); + table_hline (tab, TABLE_STROKE_SOLID, c, c + cs - 1, r); break; case ',': - table_hline (tab, TAL_1, c, c + cs - 1, r + rs); + table_hline (tab, TABLE_STROKE_SOLID, c, c + cs - 1, r + rs); break; case '@': - table_box (tab, TAL_1, TAL_1, -1, -1, c, r, - c + cs - 1, r + rs - 1); + table_box (tab, TABLE_STROKE_SOLID, TABLE_STROKE_SOLID, + -1, -1, c, r, c + cs - 1, r + rs - 1); break; case '(': @@ -475,7 +475,8 @@ read_table (FILE *stream) { char marker[2] = { 'a' + n_footnotes, '\0' }; struct footnote *f = table_create_footnote ( - tab, n_footnotes, content, marker, NULL); + tab, n_footnotes, content, marker, + area_style_clone (tab->container, &left_style)); table_add_footnote (tab, c, r, f); n_footnotes++; }