X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Foutput%2Fhtml.c;h=d5b4f5d4fb8d2443fde655cf3a6334144d3e0deb;hb=181e8d045ddda092f0fb2b98c13dab68f2e283c5;hp=fd25285ad3faa296cb0c154970eab4d7908a5d44;hpb=5f168bf8465ae50ba5c2c761b52f29a0500c0658;p=pspp diff --git a/src/output/html.c b/src/output/html.c index fd25285ad3..d5b4f5d4fb 100644 --- a/src/output/html.c +++ b/src/output/html.c @@ -190,7 +190,7 @@ html_submit (struct outp_driver *this, struct som_entity *s) output_tab_table ( this, (struct tab_table *) s->ext); break; case SOM_CHART: - link_image (x->file, ((struct chart *)s->ext)->filename); + link_image (x->file, ((struct chart *)s->ext)->file_name); break; default: abort (); @@ -345,7 +345,7 @@ html_initialise_chart(struct outp_driver *d UNUSED, struct chart *ch) FILE *fp; - make_unique_file_stream(&fp, &ch->filename); + make_unique_file_stream(&fp, &ch->file_name); #ifdef NO_CHARTS ch->lp = 0; @@ -359,7 +359,7 @@ html_initialise_chart(struct outp_driver *d UNUSED, struct chart *ch) static void html_finalise_chart(struct outp_driver *d UNUSED, struct chart *ch) { - free(ch->filename); + free(ch->file_name); }