On 03/09/2010 03:34 AM, Abdelrazak Younes wrote:
On 03/08/2010 08:06 PM, rgh...@lyx.org wrote:
Author: rgheck
Date: Mon Mar 8 20:06:28 2010
New Revision: 33678
URL: http://www.lyx.org/trac/changeset/33678
Log:
Eliminate redundancy.
Modified:
lyx-devel/trunk/src/mathed/MathMacroTemplate.cpp
Modified: lyx-devel/trunk/src/mathed/MathMacroTemplate.cpp
==============================================================================
--- lyx-devel/trunk/src/mathed/MathMacroTemplate.cpp Mon Mar 8
19:57:42 2010 (r33677)
+++ lyx-devel/trunk/src/mathed/MathMacroTemplate.cpp Mon Mar 8
20:06:28 2010 (r33678)
@@ -673,7 +673,7 @@
int MathMacroTemplate::maxArgumentInDefinition() const
{
// We don't have a buffer when pasting from the clipboard (bug
6014).
- Buffer const * macro_buffer = this->isBufferLoaded() ?&buffer()
: 0;
+ Buffer const * macro_buffer = isBufferLoaded() ?&buffer() : 0;
int maxArg = 0;
DocIterator it = doc_iterator_begin(macro_buffer, this);
it.idx() = defIdx();
This code looks buggy...
You mean it previously was buggy? Possibly so. But I ain't touchin' the
macro stuff.
rh