Fixes the delimiter borkage. OK to commit?
- Martin -- Martin Vermeer [EMAIL PROTECTED] Helsinki University of Technology Dept. of Surveying, Inst. of Geodesy P.O. Box 1200, FIN-02015 HUT, Finland :wq
Index: FormMathsDelim.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/FormMathsDelim.C,v
retrieving revision 1.44
diff -u -p -r1.44 FormMathsDelim.C
--- FormMathsDelim.C 15 Sep 2003 10:59:55 -0000 1.44
+++ FormMathsDelim.C 24 Oct 2003 13:27:02 -0000
@@ -33,7 +33,7 @@ using std::ostringstream;
static int const delim_rversion[] = {
1,1,3,3,4,5,7,7,9,9,10,11,
-
+13,13,15,15,16,17,19,19,20,21,22
};
@@ -116,7 +116,7 @@ ButtonPolicy::SMInput FormMathsDelim::in
if (both) {
right = delim_rversion[i];
// Add left delimiter in "both" case if right one was
pressed:
- for (int j = 0; j <= 23; ++j) {
+ for (int j = 0; j <= 22; ++j) {
if (delim_rversion[j] == left) {
right = left;
left = j;
pgp00000.pgp
Description: PGP signature
