projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
HTML output driver: Correct typo
[pspp]
/
tests
/
output
/
render-test.c
diff --git
a/tests/output/render-test.c
b/tests/output/render-test.c
index 35400216541d52a24ad5ba2160f9835dc1ebbef2..19bb0ccfab5321a8312b015bfe466ec43e5009f6 100644
(file)
--- a/
tests/output/render-test.c
+++ b/
tests/output/render-test.c
@@
-346,7
+346,7
@@
replace_newlines (char *p)
{
char *q;
{
char *q;
- for (q = p; *p != '\0';
)
+ for (q = p; *p != '\0';)
if (*p == '\\' && p[1] == 'n')
{
*q++ = '\n';
if (*p == '\\' && p[1] == 'n')
{
*q++ = '\n';
@@
-422,24
+422,24
@@
read_table (FILE *stream)
switch (*text++)
{
case '<':
switch (*text++)
{
case '<':
- table_vline (tab, TA
L_1
, c, r, r + rs - 1);
+ table_vline (tab, TA
BLE_STROKE_SOLID
, c, r, r + rs - 1);
break;
case '>':
break;
case '>':
- table_vline (tab, TA
L_1
, c + cs, r, r + rs - 1);
+ table_vline (tab, TA
BLE_STROKE_SOLID
, c + cs, r, r + rs - 1);
break;
case '^':
break;
case '^':
- table_hline (tab, TA
L_1
, c, c + cs - 1, r);
+ table_hline (tab, TA
BLE_STROKE_SOLID
, c, c + cs - 1, r);
break;
case ',':
break;
case ',':
- table_hline (tab, TA
L_1
, c, c + cs - 1, r + rs);
+ table_hline (tab, TA
BLE_STROKE_SOLID
, c, c + cs - 1, r + rs);
break;
case '@':
break;
case '@':
- table_box (tab, TA
L_1, TAL_1, -1, -1, c, r
,
- c + cs - 1, r + rs - 1);
+ table_box (tab, TA
BLE_STROKE_SOLID, TABLE_STROKE_SOLID
,
+
-1, -1, c, r,
c + cs - 1, r + rs - 1);
break;
case '(':
break;
case '(':
@@
-475,7
+475,8
@@
read_table (FILE *stream)
{
char marker[2] = { 'a' + n_footnotes, '\0' };
struct footnote *f = table_create_footnote (
{
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++;
}
table_add_footnote (tab, c, r, f);
n_footnotes++;
}