/* -*-c-*-
*
- * $Id: msg.c,v 1.6 1999/05/06 19:51:48 mdw Exp $
+ * $Id: msg.c,v 1.7 1999/05/21 22:08:20 mdw Exp $
*
* Display a message and get an answer
*
/*----- Revision history --------------------------------------------------*
*
* $Log: msg.c,v $
+ * 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.
*
/* --- Set up the message string --- */
{
- dstr d;
+ dstr d = DSTR_INIT;
va_list ap;
va_start(ap, msg);
- dstr_create(&d);
dstr_vputf(&d, msg, ap);
va_end(ap);
w = gtk_label_new(d.buf);