emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r103980: Fix typos in comments in cha


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r103980: Fix typos in comments in character.c and textprop.c.
Date: Sat, 23 Apr 2011 20:19:56 +0300
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 103980
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Sat 2011-04-23 20:19:56 +0300
message:
  Fix typos in comments in character.c and textprop.c.
modified:
  src/character.c
  src/textprop.c
=== modified file 'src/character.c'
--- a/src/character.c   2011-04-23 10:33:28 +0000
+++ b/src/character.c   2011-04-23 17:19:56 +0000
@@ -162,11 +162,11 @@
 }
 
 
-/* Return a character whose multibyte form is at P.  Set LEN is not
+/* Return a character whose multibyte form is at P.  If LEN is not
    NULL, it must be a pointer to integer.  In that case, set *LEN to
-   the byte length of the multibyte form.  If ADVANCED is not NULL, is
+   the byte length of the multibyte form.  If ADVANCED is not NULL, it
    must be a pointer to unsigned char.  In that case, set *ADVANCED to
-   the ending address (i.e. the starting address of the next
+   the ending address (i.e., the starting address of the next
    character) of the multibyte form.  */
 
 int
@@ -206,11 +206,10 @@
 }
 
 
-/* Translate character C by translation table TABLE.  If C is
-   negative, translate a character specified by CHARSET and CODE.  If
-   no translation is found in TABLE, return the untranslated
-   character.  If TABLE is a list, elements are char tables.  In this
-   case, translace C by all tables.  */
+/* Translate character C by translation table TABLE.  If no translation is
+   found in TABLE, return the untranslated character.  If TABLE is a list,
+   elements are char tables.  In that case, recursively translate C by all the
+   tables in the list.  */
 
 int
 translate_char (Lisp_Object table, int c)

=== modified file 'src/textprop.c'
--- a/src/textprop.c    2011-04-16 18:26:30 +0000
+++ b/src/textprop.c    2011-04-23 17:19:56 +0000
@@ -233,7 +233,7 @@
            if (! EQ (Fcar (XCDR (tail1)), Fcar (XCDR (tail2))))
              return 0;
 
-           /* Property has same value on both lists;  go to next one.  */
+           /* Property has same value on both lists; go to next one.  */
            found = 1;
            break;
          }


reply via email to

[Prev in Thread] Current Thread [Next in Thread]