mirror of
https://github.com/rkd77/elinks.git
synced 2024-06-07 22:20:51 +00:00
[link] cast to unsigned char . Refs #132
This bug was caused by changes unsigned char * -> char *
(cherry picked from commit 0e45f743a7
)
This commit is contained in:
parent
c646538869
commit
f2c56889cc
|
@ -1868,7 +1868,7 @@ put_chars(struct html_context *html_context, unsigned char *chars, int charslen)
|
|||
* by the parser putting a space char after stuff like
|
||||
* <img>-tags or comments wrapped in <a>-tags. See bug
|
||||
* 30 for test case. */
|
||||
while (x_offset < charslen && chars[x_offset] <= ' ')
|
||||
while (x_offset < charslen && (unsigned char)chars[x_offset] <= ' ')
|
||||
x_offset++;
|
||||
|
||||
/* For pure spaces reset the link state */
|
||||
|
|
Loading…
Reference in New Issue
Block a user