fix the indentation of CutAndPaste.C thanks john -- "Euler's equation contains the five most important numbers in mathematics."
Index: ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v retrieving revision 1.196 diff -u -r1.196 ChangeLog --- ChangeLog 2001/06/21 10:55:47 1.196 +++ ChangeLog 2001/06/22 18:07:40 @@ -1,3 +1,7 @@ +2001-06-22 John Levon <[EMAIL PROTECTED]> + + * CutAndPaste.C: fix indentation + 2001-06-20 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> * LaTeX.C (scanAuxFile): Index: CutAndPaste.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/CutAndPaste.C,v retrieving revision 1.31 diff -u -r1.31 CutAndPaste.C --- CutAndPaste.C 2001/05/30 13:53:25 1.31 +++ CutAndPaste.C 2001/06/22 18:07:41 @@ -56,17 +56,17 @@ // Perhaps it even should take a parameter? (Lgb) void DeleteBuffer() { - if (!buf) + if (!buf) return; - LyXParagraph * tmppar; + LyXParagraph * tmppar; - while (buf) { + while (buf) { tmppar = buf; buf = buf->next(); delete tmppar; - } - buf = 0; + } + buf = 0; } } // namespace anon @@ -320,11 +320,11 @@ LyXTextClassList::size_type c2, LyXParagraph * par) { - int ret = 0; - if (!par || c1 == c2) + int ret = 0; + if (!par || c1 == c2) return ret; - while (par) { + while (par) { string const name = textclasslist.NameOfLayout(c1, par->layout); int lay = 0; @@ -350,14 +350,13 @@ par->InsertInset(0, new_inset); } par = par->next(); - } - return ret; + } + return ret; } bool CutAndPaste::checkPastePossible(LyXParagraph *) { - if (!buf) return false; - - return true; + if (!buf) return false; + return true; }