]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_extern.C
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_extern.C
index 17d5b095cbfecdb7462774e9d45ded23cc414f2e..28f961cbd26977fc5afd1ab04bc7312473e16ddd 100644 (file)
@@ -393,13 +393,13 @@ void extractNumbers(MathArray & ar)
 // 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 @@ MathAtom replaceDelims(const MathArray & ar)
 void extractDelims(MathArray & ar)
 {
        //lyxerr << "\nDelims from: " << ar << endl;
-       replaceNested(ar, testOpenParan, testCloseParan, replaceDelims);
+       replaceNested(ar, testOpenParen, testCloseParen, replaceDelims);
        //lyxerr << "\nDelims to: " << ar << endl;
 }