mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-01 03:36:26 -04: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
bc55cd55cb
commit
38fe0f7292
@ -335,7 +335,8 @@ add_document_to_string(struct string *string, struct document *document)
|
||||
if (!isscreensafe(data)) {
|
||||
white++;
|
||||
continue;
|
||||
} else if (frame && data >= 176 && data < 224) {
|
||||
} else {
|
||||
if (frame && data >= 176 && data < 224)
|
||||
data = frame_dumb[data - 176];
|
||||
|
||||
if (data <= ' ') {
|
||||
|
Loading…
Reference in New Issue
Block a user