X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=src%2Foutput%2Fhtml.c;h=45c9a1ef730762df544128f488f227568d082517;hb=32897a3d95b7772d44ddd14e2ac8bc154cfe4542;hp=636450a9a353c1d43ccac0f7c4a54b665e946401;hpb=ddb7b52128d8f1f54d9632dc3a15c7869e0fbcce;p=pspp
diff --git a/src/output/html.c b/src/output/html.c
index 636450a9a3..45c9a1ef73 100644
--- a/src/output/html.c
+++ b/src/output/html.c
@@ -1,5 +1,5 @@
/* PSPP - a program for statistical analysis.
- Copyright (C) 1997-9, 2000, 2009, 2010 Free Software Foundation, Inc.
+ Copyright (C) 1997-9, 2000, 2009, 2010, 2011 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -55,8 +55,6 @@ struct html_driver
char *command_name;
FILE *file;
size_t chart_cnt;
-
- bool in_syntax;
};
static const struct output_driver_class html_driver_class;
@@ -103,7 +101,7 @@ html_create (const char *file_name, enum settings_output_devices device_type,
html->file = fn_open (html->file_name, "w");
if (html->file == NULL)
{
- error (0, errno, _("opening HTML output file: %s"), html->file_name);
+ error (0, errno, _("error opening output file `%s'"), html->file_name);
goto error;
}
@@ -116,8 +114,8 @@ html_create (const char *file_name, enum settings_output_devices device_type,
fputs ("\n",
html->file);
fputs ("\n", html->file);
- fputs ("