]> sourceware.org Git - systemtap.git/commitdiff
Add new graph output to the last graph
authorTim Moore <timoore@redhat.com>
Fri, 4 Dec 2009 18:30:08 +0000 (19:30 +0100)
committerTim Moore <timoore@redhat.com>
Fri, 4 Dec 2009 18:30:08 +0000 (19:30 +0100)
grapher/GraphWidget.cxx

index 3d38627f32bfe8181307d3f4fe508a0a0e2ed181..739d9450bd42190aa466d78939f4952b34d10f7a 100644 (file)
@@ -84,7 +84,7 @@ namespace systemtap
 
   void GraphWidget::addGraphData(shared_ptr<GraphDataBase> data)
   {
-    _graphs[0]->addGraphData(data);
+    _graphs.back()->addGraphData(data);
     _graphData.push_back(data);
   }
 
This page took 0.025638 seconds and 5 git commands to generate.