[root] / trunk / hist / hist / src / TMultiGraph.cxx Repository:
ViewVC logotype

Diff of /trunk/hist/hist/src/TMultiGraph.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 35475, Mon Sep 20 18:04:46 2010 UTC revision 35495, Mon Sep 20 21:46:00 2010 UTC
# Line 786  Line 786 
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+1);                 strlcpy(xtitle,fHistogram->GetXaxis()->GetTitle(),nch);
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+1);                 strlcpy(ytitle,fHistogram->GetYaxis()->GetTitle(),nch);
795              }              }
796              delete fHistogram;              delete fHistogram;
797              fHistogram = 0;              fHistogram = 0;

Legend:
Removed from v.35475  
changed lines
  Added in v.35495

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9