git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3044 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-11-20 08:27:13 +00:00
parent 5a3fc63bfe
commit 491148bbd9
2 changed files with 1 additions and 4 deletions

View File

@ -749,9 +749,6 @@ void MathCursor::selHandle(bool sel)
void MathCursor::selStart()
{
seldump("selStart");
if (selection_)
return;
theSelection.clear();
Anchor_ = Cursor_;
selection_ = true;

View File

@ -68,6 +68,6 @@ void MathMacroTemplate::write(WriteStream & os) const
{
os << "\n\\newcommand{\\" << name_.c_str() << '}';
if (numargs_ > 0)
os << '[' << ('0' + numargs_) << ']';
os << '[' << numargs_ << ']';
os << '{' << cell(0) << "}\n";
}