1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

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.
This commit is contained in:
Miciah Dashiel Butler Masters 2006-07-26 21:28:40 +00:00 committed by Miciah Dashiel Butler Masters
parent e301f0c4ab
commit 3ff8422e76

View File

@ -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);