]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macroarg.C
forward search in math insets. ugly. seems to work. don't ask why.
[lyx.git] / src / mathed / math_macroarg.C
index f28b77ab03845e8394bbd39cb9d0327470ae4f75..179b32fad681e3bf81d3122de3886a0934b750db 100644 (file)
@@ -32,7 +32,7 @@ MathInset * MathMacroArgument::clone() const
 
 void MathMacroArgument::write(WriteStream & os) const
 {
-       os << '#' << number_;
+       os << str_;
 }
 
 
@@ -60,7 +60,7 @@ void MathMacroArgument::draw(Painter & pain, int x, int y) const
 
 void MathMacroArgument::normalize(NormalStream & os) const
 {
-       os << "[macroarg " << number_ << "] ";
+       os << "[macroarg " << str_ << "] ";
 }