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:
parent
96c145cc78
commit
dc3b0f0393
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user