| 786 |
lastx = fHistogram->GetXaxis()->GetLast(); |
lastx = fHistogram->GetXaxis()->GetLast(); |
| 787 |
if (nch) { |
if (nch) { |
| 788 |
xtitle = new char[nch+1]; |
xtitle = new char[nch+1]; |
| 789 |
strlcpy(xtitle,fHistogram->GetXaxis()->GetTitle(),nch); |
strlcpy(xtitle,fHistogram->GetXaxis()->GetTitle(),nch+1); |
| 790 |
} |
} |
| 791 |
nch = strlen(fHistogram->GetYaxis()->GetTitle()); |
nch = strlen(fHistogram->GetYaxis()->GetTitle()); |
| 792 |
if (nch) { |
if (nch) { |
| 793 |
ytitle = new char[nch+1]; |
ytitle = new char[nch+1]; |
| 794 |
strlcpy(ytitle,fHistogram->GetYaxis()->GetTitle(),nch); |
strlcpy(ytitle,fHistogram->GetYaxis()->GetTitle(),nch+1); |
| 795 |
} |
} |
| 796 |
delete fHistogram; |
delete fHistogram; |
| 797 |
fHistogram = 0; |
fHistogram = 0; |