From be8b95ddcbd5fa72f87465f27089c859e140b3b9 Mon Sep 17 00:00:00 2001 From: Ryan Chipman Date: Tue, 23 Jun 2015 11:16:08 -0400 Subject: fixed some typos in comments --- text.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/text.c b/text.c index eca86db..c30b973 100644 --- a/text.c +++ b/text.c @@ -70,12 +70,12 @@ typedef struct { size_t off; /* offset into the piece in bytes */ } Location; -/* A Span holds a certain range of pieces. Changes to the document are allways +/* A Span holds a certain range of pieces. Changes to the document are always * performed by swapping out an existing span with a new one. */ typedef struct { Piece *start, *end; /* start/end of the span */ - size_t len; /* the sum of the lenghts of the pieces which form this span */ + size_t len; /* the sum of the lengths of the pieces which form this span */ } Span; /* A Change keeps all needed information to redo/undo an insertion/deletion. */ -- cgit v1.2.3