diff options
| author | Ryan Chipman <rchipman@mit.edu> | 2015-06-23 11:16:08 -0400 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-06-24 08:21:43 +0200 |
| commit | be8b95ddcbd5fa72f87465f27089c859e140b3b9 (patch) | |
| tree | 390b3717221dfefa712623b7ee4bb6d55a2f674b | |
| parent | b18acc17f2f36babb9aa0ed7d6ef8608c6a9d9e8 (diff) | |
| download | vis-be8b95ddcbd5fa72f87465f27089c859e140b3b9.tar.gz vis-be8b95ddcbd5fa72f87465f27089c859e140b3b9.tar.xz | |
fixed some typos in comments
| -rw-r--r-- | text.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. */ |
