summaryrefslogtreecommitdiff
path: root/desktop/textarea.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-09-19 11:10:43 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-09-19 11:10:43 +0100
commitf95b9d2eb3c9d10003f64db2af6b932c17d043e1 (patch)
treeb5f6260fe21a8d78af716f7d09ce3f1f87f3ec4d /desktop/textarea.c
parent35f7f2b9f39f000a652b0bdf423b4042338f474f (diff)
downloadnetsurf-f95b9d2eb3c9d10003f64db2af6b932c17d043e1.tar.gz
netsurf-f95b9d2eb3c9d10003f64db2af6b932c17d043e1.tar.bz2
Fix a couple of comment typos.
Diffstat (limited to 'desktop/textarea.c')
-rw-r--r--desktop/textarea.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/textarea.c b/desktop/textarea.c
index e37f06e53..82f0989e5 100644
--- a/desktop/textarea.c
+++ b/desktop/textarea.c
@@ -1078,7 +1078,7 @@ static bool textarea_reflow_multiline(struct textarea *ta,
continue;
} 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;
space--) {
if (*space == ' ')
@@ -1156,7 +1156,7 @@ static bool textarea_reflow_multiline(struct textarea *ta,
ta->v_extent = v_extent;
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 &&
restart == false) {
/* Start line is unchanged */