summaryrefslogtreecommitdiff
path: root/gui/over.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/over.c')
-rw-r--r--gui/over.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gui/over.c b/gui/over.c
index b779aee..b321368 100644
--- a/gui/over.c
+++ b/gui/over.c
@@ -471,12 +471,18 @@ void overlay_text_raw(struct overlay *over, const char *s)
}
+void overlay_vtext(struct overlay *over, const char *fmt, va_list ap)
+{
+ overlay_text_raw(over, vfmt_pango(fmt, ap));
+}
+
+
void overlay_text(struct overlay *over, const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
- overlay_text_raw(over, vfmt_pango(fmt, ap));
+ overlay_vtext(over, fmt, ap);
va_end(ap);
}