else
c = par.getChar(pos - 1);
string arg = to_utf8(cmd.argument());
+ InsetQuotes * iq;
if (arg == "single")
- cur.insert(new InsetQuotes(c,
- bufparams.quotes_language,
- InsetQuotes::SingleQ));
+ iq = new InsetQuotes(c, bufparams.quotes_language,
+ InsetQuotes::SingleQ);
else
- cur.insert(new InsetQuotes(c,
- bufparams.quotes_language,
- InsetQuotes::DoubleQ));
+ iq = new InsetQuotes(c, bufparams.quotes_language,
+ InsetQuotes::DoubleQ);
+ iq->setBuffer(bv->buffer());
+ cur.insert(iq);
cur.posForward();
}
else