1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[view] Do not check for isprint in link title.

It displayed '*' for valid characters under DOS.
This commit is contained in:
Witold Filipczyk 2022-09-01 19:36:56 +02:00
parent 96c145cc78
commit dc3b0f0393

View File

@ -1475,7 +1475,7 @@ get_current_link_title(struct document_view *doc_view)
if (link_title && !doc_view->document->options.utf8)
#endif /* CONFIG_UTF8 */
for (src = link_title; *src; src++)
if (!isprint(*src) || iscntrl(*src))
if (iscntrl((unsigned char)*src))
*src = '*';
return link_title;