#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? */
if (init_fn == NULL)
{
msg (IE, _("Cannot find output initialization file. "
- "Use `-vvvv' to view search path."));
+ "Use `-vvvvv' to view search path."));
goto exit;
}
*++cp = 0;
info->initial = xstrdup (s);
- info->options = xmalloc (sizeof *info->options * (cp - s));
+ info->options = xnmalloc (cp - s, sizeof *info->options);
memcpy (info->options, ptr, sizeof *info->options * (cp - s));
}