mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-18 16:49:18 +03:00
Fix a couple of comment typos.
This commit is contained in:
parent
35f7f2b9f3
commit
f95b9d2eb3
@ -1078,7 +1078,7 @@ static bool textarea_reflow_multiline(struct textarea *ta,
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
} else if (len - b_off > 0) {
|
} else if (len - b_off > 0) {
|
||||||
/* soft wraped, find last space (if any) */
|
/* soft wrapped, find last space (if any) */
|
||||||
for (space = text + b_off; space > text;
|
for (space = text + b_off; space > text;
|
||||||
space--) {
|
space--) {
|
||||||
if (*space == ' ')
|
if (*space == ' ')
|
||||||
@ -1156,7 +1156,7 @@ static bool textarea_reflow_multiline(struct textarea *ta,
|
|||||||
ta->v_extent = v_extent;
|
ta->v_extent = v_extent;
|
||||||
ta->line_count = line;
|
ta->line_count = line;
|
||||||
|
|
||||||
/* Don't need to redraw above changes, so update redraw request rect*/
|
/* Don't need to redraw above changes, so update redraw request rect */
|
||||||
if (ta->lines[start].b_start + ta->lines[start].b_length < b_start &&
|
if (ta->lines[start].b_start + ta->lines[start].b_length < b_start &&
|
||||||
restart == false) {
|
restart == false) {
|
||||||
/* Start line is unchanged */
|
/* Start line is unchanged */
|
||||||
|
Loading…
Reference in New Issue
Block a user