On Mon, Oct 03, 2005 at 09:56:09AM +0200, Juergen Spitzmueller wrote: > Does this look sensible? > > Jürgen > > P.S.: the context of the changes: > > void MathGridInset::write(WriteStream & os) const > { > [...] > string const s = verboseHLine(rowinfo_[nrows()].lines_); > if (!s.empty() && s != " ") { > if (os.fragile()) > os << "\\protect"; > os << "\\\\" << s; > } > + else > + os << "\\\\"; > }
I'd think if (os.fragile()) os << "\\protect"; would be needed in this case as well. Andre'