Code

when stacking known on unknown, then we asume unknown was zero ...
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 21 Jul 2005 22:23:28 +0000 (22:23 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 21 Jul 2005 22:23:28 +0000 (22:23 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@657 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_graph.c

index 5f656aa36947b1c843eee6e76386a86a6d80f7d7..bfbd4550fda972d36b97505bb8d11691abb906a6 100644 (file)
@@ -2590,7 +2590,7 @@ graph_paint(image_desc_t *im, char ***calcpr)
           if (lastgdes && (im->gdes[i].stack)) {
             im->gdes[i].p_data[ii] = lastgdes->p_data[ii];
           } else {
-            im->gdes[i].p_data[ii] =  ytr(im,areazero);
+            im->gdes[i].p_data[ii] = areazero;
           }
         }
       }