From 883dde4fa5267e828044da5791beb4cd28557d2f Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Thu, 22 Jan 2026 20:14:46 -0600 Subject: [PATCH] Remove xprintf reference. --- src/mainclient/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainclient/shell.c b/src/mainclient/shell.c index b9073378..010ea2e5 100644 --- a/src/mainclient/shell.c +++ b/src/mainclient/shell.c @@ -482,7 +482,7 @@ static void savehistory(void) { FILE *history_file = fopen(gbl_history_file, "wb"); for (int i = 0; i < gbl_history_count; i++) { if (gbl_history[i][0]) { /* Drop empty strings */ - janet_xprintf(history_file, "%j\n", janet_cstringv(gbl_history[i])); + janet_dynprintf("", history_file, "%j\n", janet_cstringv(gbl_history[i])); } } fclose(history_file);