Continue reforming error message support. In this phase, get rid of
[pspp-builds.git] / src / ui / gui / message-dialog.c
index c5928d357306b1928e0230081614c460fafdbfc3..0af7693694b21b4f33fec8c8cd197fbf8b9d80a4 100644 (file)
@@ -113,10 +113,10 @@ msg(enum msg_class klass, const char *fmt, ...)
 
 
 void
-err_vmsg (const struct error *e, const char *format, va_list args)
+err_msg (const struct error *e)
 {
   vmsg(msg_class_from_category_and_severity (e->category, e->severity),
-       format, args);
+       "%s", e->text);
 }