]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_cursor.C
Jean-Marc's fix for wrong descent
[lyx.git] / src / mathed / math_cursor.C
index 77208b6fa9f4ab83834170dc3af3d2ca2c8da691..cfc4f88e5688c1bb4a4b66f979b0ed0142a244ab 100644 (file)
@@ -420,12 +420,13 @@ bool MathCursor::backspace()
        }
 
        if (pos() == 0) {
-               if (par()->ncols() == 1 && par()->nrows() == 1 && depth() == 1 && size() == 0)
+               if (par()->ncols() == 1 &&
+                         par()->nrows() == 1 &&
+                         depth() == 1 &&
+                         size() == 0)
                        return false;
-               else{
-                       pullArg();
-                       return true;
-               }
+               pullArg();
+               return true;
        }
 
        if (inMacroMode()) {
@@ -438,7 +439,7 @@ bool MathCursor::backspace()
 
        --pos();
        plainErase();
-        return true;
+       return true;
 }