mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[renderer] Cast to unsigned char. Refs #94
This commit is contained in:
parent
d4157366b0
commit
6ea0aa44a1
@ -1723,7 +1723,7 @@ process_link(struct html_context *html_context, enum link_state link_state,
|
||||
if (!part->document) return;
|
||||
|
||||
/* Trim leading space from the link text */
|
||||
while (x_offset < charslen && chars[x_offset] <= ' ')
|
||||
while (x_offset < charslen && (unsigned char)chars[x_offset] <= ' ')
|
||||
x_offset++;
|
||||
|
||||
if (x_offset) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user