Ticket #40979: patch-drawlabel.cc.diff

File patch-drawlabel.cc.diff, 551 bytes (added by mojca (Mojca Miklavec), 10 years ago)

another patch for 10.9

  • drawlabel.cc

    old new  
    7575  bool Latex=latex(texengine);
    7676 
    7777  if(Latex) {
    78     if(setlatexfont(tex,pentype,drawElement::lastpen))
    79       tex.wait("\n*");
     78    if(setlatexfont(tex,pentype,drawElement::lastpen)) {
     79      tex << "\n";
     80      tex.wait(texready.c_str());
     81    }
    8082  }
    81   if(settexfont(tex,pentype,drawElement::lastpen,Latex))
    82     tex.wait("\n*");
     83  if(settexfont(tex,pentype,drawElement::lastpen,Latex)) {
     84    tex << "\n";
     85    tex.wait(texready.c_str());
     86  }
    8387 
    8488  drawElement::lastpen=pentype;
    8589}