X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Foutput.c;h=59bccb8045324f707f792d3be6be4f2feabc1ec3;hb=1f8dd363d6c20d07fcca14cb948018465fa5ed8b;hp=1409316a0ce68041344940ecb2b630b3fb7ace33;hpb=4fdeb2145d081ff1b84e3f6c99f9d1c048c0d64a;p=pspp-builds.git diff --git a/src/output.c b/src/output.c index 1409316a..59bccb80 100644 --- a/src/output.c +++ b/src/output.c @@ -34,6 +34,9 @@ #include "settings.h" #include "str.h" +#include "gettext.h" +#define _(msgid) gettext (msgid) + /* FIXME? Should the output configuration format be changed to drivername:classname:devicetype:options, where devicetype is zero or more of screen, printer, listing? */ @@ -292,8 +295,8 @@ outp_read_devices (void) if (init_fn == NULL) { - msg (IE, _("Cannot find output initialization file. Use `-vv' to view " - "search path.")); + msg (IE, _("Cannot find output initialization file. " + "Use `-vvvv' to view search path.")); goto exit; } @@ -455,8 +458,13 @@ outp_done (void) free(n); n = next; } + outp_class_list = NULL; + free (outp_title); + outp_title = NULL; + free (outp_subtitle); + outp_subtitle = NULL; return 1; }