Ticket #40979: patch-drawlabel.cc.2.diff

File patch-drawlabel.cc.2.diff, 551 bytes (added by mf2k (Frank Schima), 10 years ago)
  • 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}