mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
Fix add_document_to_string to actually add stuff
Revision 1.147 (14 months, 2 weeks ago) broke the logic so that only frame characters were added. This fixes that change, getting us halfway back to a working current_document_formatted function for Lua.
This commit is contained in:
parent
bba44965bf
commit
2011629449
@ -335,8 +335,9 @@ add_document_to_string(struct string *string, struct document *document)
|
||||
if (!isscreensafe(data)) {
|
||||
white++;
|
||||
continue;
|
||||
} else if (frame && data >= 176 && data < 224) {
|
||||
data = frame_dumb[data - 176];
|
||||
} else {
|
||||
if (frame && data >= 176 && data < 224)
|
||||
data = frame_dumb[data - 176];
|
||||
|
||||
if (data <= ' ') {
|
||||
/* Count spaces. */
|
||||
|
Loading…
Reference in New Issue
Block a user