[Gc] [PATCH] fixing couple of typos in cord.h

Alexander Belchenko bialix at ukr.net
Sun May 30 22:08:30 PDT 2010


Hi,

I've encountered couple of typos in cord.h while reading it. I've
decided to fix them because it took me some time to understand the
text, because I'm not native English speaker.

Alexander
-------------- next part --------------
=== modified file 'include/cord.h'
--- include/cord.h	2010-05-30 13:59:56 +0000
+++ include/cord.h	2010-05-30 14:40:12 +0000
@@ -28,7 +28,7 @@
  *   concatenating instructions onto a cord representing the output file.
  * - A text editor that converts the input file to a cord, and then
  *   performs editing operations by producing a new cord representing
- *   the file after echa character change (and keeping the old ones in an
+ *   the file after each character change (and keeping the old ones in an
  *   edit history)
  *
  * For optimal performance, cords should be built by
@@ -147,7 +147,7 @@
 /* Functions that operate on cord positions.  The easy way to traverse	*/
 /* cords.  A cord position is logically a pair consisting of a cord	*/
 /* and an index into that cord.  But it is much faster to retrieve a	*/
-/* charcter based on a position than on an index.  Unfortunately,	*/
+/* character based on a position than on an index.  Unfortunately,	*/
 /* positions are big (order of a few 100 bytes), so allocate them with	*/
 /* caution.								*/
 /* Things in cord_pos.h should be treated as opaque, except as		*/



More information about the Gc mailing list