mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -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:
parent
e301f0c4ab
commit
3ff8422e76
@ -381,7 +381,7 @@ draw_file_download(struct listbox_item *item, struct listbox_context *context,
|
|||||||
|
|
||||||
color = get_bfu_color(context->term, stylename);
|
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;
|
if (!text) return;
|
||||||
|
|
||||||
length = strlen(text);
|
length = strlen(text);
|
||||||
|
Loading…
Reference in New Issue
Block a user