Remove xprintf reference.

This commit is contained in:
Calvin Rose committed 2026-01-22 20:14:46 -06:00
1 parent 6111291ede
commit 883dde4fa5
1 file changed
+1 -1
+1 -1
View File
@@ -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);