chiark / gitweb /
Expunge revision histories in files.
[mgLib] / msg.c
diff --git a/msg.c b/msg.c
index ccd59ae0d681b9f576845c7bd4b397d9d73cd711..d574060de47d1134257af97e67586b5918d2059f 100644 (file)
--- a/msg.c
+++ b/msg.c
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: msg.c,v 1.9 2002/01/13 14:32:22 mdw Exp $
+ * $Id: msg.c,v 1.11 2004/04/08 01:36:14 mdw Exp $
  *
  * Display a message and get an answer
  *
  * MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: msg.c,v $
- * Revision 1.9  2002/01/13 14:32:22  mdw
- * Allow control over the message box title.
- *
- * Revision 1.8  1999/11/11 19:54:37  mdw
- * Prep for standalone release.
- *
- * Revision 1.7  1999/05/21 22:08:20  mdw
- * Take advantage of new dynamic string macros.
- *
- * Revision 1.6  1999/05/06 19:51:48  mdw
- * Reformatted the LGPL notice a little bit.
- *
- * Revision 1.5  1999/05/05 18:52:45  mdw
- * Change licensing conditions to LGPL.
- *
- * Revision 1.4  1999/04/29 20:48:13  mdw
- * Add documentation for `msg'.
- *
- * Revision 1.3  1999/03/25 23:36:10  mdw
- * Compile to nothing in absence of GTK, for the benefit of parent packages
- * which contain non-GTK-dependent parts.
- *
- * Revision 1.2  1998/12/15 23:48:06  mdw
- * Use `dstr_putf' for formatting, rather than `sprintf'.
- *
- * Revision 1.1  1998/12/11 09:44:21  mdw
- * Initial version.
- *
- */
-
 /*----- Header files ------------------------------------------------------*/
 
 #include <stdarg.h>
@@ -135,7 +102,7 @@ int msg(const char *title, const char *buttons, const char *msg, ...)
     va_list ap;
 
     va_start(ap, msg);
-    dstr_vputf(&d, msg, ap);
+    dstr_vputf(&d, msg, &ap);
     va_end(ap);
     w = gtk_label_new(d.buf);
     gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dbox)->vbox), w, 1, 1, 0);