aboutsummaryrefslogtreecommitdiffstats
path: root/ui/alert_box.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/alert_box.c')
-rw-r--r--ui/alert_box.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/ui/alert_box.c b/ui/alert_box.c
index aac268558d..c367fb43c7 100644
--- a/ui/alert_box.c
+++ b/ui/alert_box.c
@@ -37,7 +37,17 @@
* Alert box for general errors.
*/
void
-failure_alert_box(const char *msg_format, va_list ap)
+failure_alert_box(const char *msg_format, ...)
+{
+ va_list ap;
+
+ va_start(ap, msg_format);
+ vsimple_error_message_box(msg_format, ap);
+ va_end(ap);
+}
+
+void
+vfailure_alert_box(const char *msg_format, va_list ap)
{
vsimple_error_message_box(msg_format, ap);
}