summaryrefslogtreecommitdiff
path: root/src/fe-text/mainwindows.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text/mainwindows.c')
-rw-r--r--src/fe-text/mainwindows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/mainwindows.c b/src/fe-text/mainwindows.c
index d70811f2..6cb567cc 100644
--- a/src/fe-text/mainwindows.c
+++ b/src/fe-text/mainwindows.c
@@ -1028,7 +1028,7 @@ static void windows_print_sticky(WINDOW_REC *win)
for (tmp = list; tmp != NULL; tmp = tmp->next) {
WINDOW_REC *rec = tmp->data;
- g_string_sprintfa(str, "#%d, ", rec->refnum);
+ g_string_append_printf(str, "#%d, ", rec->refnum);
}
g_string_truncate(str, str->len-2);
g_slist_free(list);