From 3ff8422e76cc13538ba296b382631bc2de434316 Mon Sep 17 00:00:00 2001 From: Miciah Dashiel Butler Masters Date: Wed, 26 Jul 2006 21:28:40 +0000 Subject: [PATCH] Fix a crash with the download manager when CONFIG_UTF_8 is enabled In draw_file_download, pass get_file_download_text the terminal pointer instead of NULL. --- src/dialogs/download.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs/download.c b/src/dialogs/download.c index 1741e5e3..2eaefc78 100644 --- a/src/dialogs/download.c +++ b/src/dialogs/download.c @@ -381,7 +381,7 @@ draw_file_download(struct listbox_item *item, struct listbox_context *context, color = get_bfu_color(context->term, stylename); - text = get_file_download_text(item, NULL); + text = get_file_download_text(item, context->term); if (!text) return; length = strlen(text);