On Sun, Apr 10, 2005 at 12:19:04PM +0300, Martin Vermeer wrote:
> 
> This goes in unless there are weighty reasons not to change silly
> identifiers in CVS. Shout if you can think of any.
> 
> - Martin
> 
...and here's the patch.

- M

Index: ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/ChangeLog,v
retrieving revision 1.491
diff -u -r1.491 ChangeLog
--- ChangeLog   10 Apr 2005 09:07:28 -0000      1.491
+++ ChangeLog   10 Apr 2005 09:16:20 -0000
@@ -1,3 +1,8 @@
+2005-04-10  Martin Vermeer  <[EMAIL PROTECTED]>
+
+       * math_deliminset.Ci (isParenthesis):
+       * math_extern.C: Spelling
+
 2005-04-09  Martin Vermeer  <[EMAIL PROTECTED]>
 
        * math_gridinset.C (doDispatch):
Index: math_deliminset.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_deliminset.C,v
retrieving revision 1.72
diff -u -r1.72 math_deliminset.C
--- math_deliminset.C   4 Apr 2005 22:11:53 -0000       1.72
+++ math_deliminset.C   10 Apr 2005 09:16:20 -0000
@@ -115,7 +115,7 @@
 }
 
 
-bool MathDelimInset::isParanthesis() const
+bool MathDelimInset::isParenthesis() const
 {
        return left_ == "(" && right_ == ")";
 }
Index: math_deliminset.h
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_deliminset.h,v
retrieving revision 1.41
diff -u -r1.41 math_deliminset.h
--- math_deliminset.h   23 Nov 2004 23:04:50 -0000      1.41
+++ math_deliminset.h   10 Apr 2005 09:16:20 -0000
@@ -30,7 +30,7 @@
        ///
        MathDelimInset const * asDelimInset() const { return this; }
        /// is it (...)?
-       bool isParanthesis() const;
+       bool isParenthesis() const;
        /// is it [...]?
        bool isBrackets() const;
        /// is it |...|?
Index: math_extern.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_extern.C,v
retrieving revision 1.68
diff -u -r1.68 math_extern.C
--- math_extern.C       16 Sep 2004 20:37:34 -0000      1.68
+++ math_extern.C       10 Apr 2005 09:16:20 -0000
@@ -393,13 +393,13 @@
 // search deliminiters
 //
 
-bool testOpenParan(MathAtom const & at)
+bool testOpenParen(MathAtom const & at)
 {
        return testString(at, "(");
 }
 
 
-bool testCloseParan(MathAtom const & at)
+bool testCloseParen(MathAtom const & at)
 {
        return testString(at, ")");
 }
@@ -415,7 +415,7 @@
 void extractDelims(MathArray & ar)
 {
        //lyxerr << "\nDelims from: " << ar << endl;
-       replaceNested(ar, testOpenParan, testCloseParan, replaceDelims);
+       replaceNested(ar, testOpenParen, testCloseParen, replaceDelims);
        //lyxerr << "\nDelims to: " << ar << endl;
 }
 

Attachment: pgpe5MHVF1lSz.pgp
Description: PGP signature

Reply via email to