[SCM] calf/master: + Line graph: use generation number stored in line_graph_param_control, not in the widget itself

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:39:13 UTC 2013


The following commit has been merged in the master branch:
commit c866be5842a440cab41edfc654bd282959e6a6ab
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Mon Jan 26 19:29:05 2009 +0000

    + Line graph: use generation number stored in line_graph_param_control, not in the widget itself

diff --git a/src/custom_ctl.cpp b/src/custom_ctl.cpp
index 1e552cd..dffe023 100644
--- a/src/custom_ctl.cpp
+++ b/src/custom_ctl.cpp
@@ -280,7 +280,7 @@ int calf_line_graph_update_if(CalfLineGraph *graph, int last_drawn_generation)
     if (graph->source)
     {
         int subgraph, dot, gridline;
-        generation = graph->source->get_changed_offsets(graph->last_generation, subgraph, dot, gridline);
+        generation = graph->source->get_changed_offsets(generation, subgraph, dot, gridline);
         if (subgraph == INT_MAX && dot == INT_MAX && gridline == INT_MAX && generation == last_drawn_generation)
             return generation;
         gtk_widget_queue_draw(GTK_WIDGET(graph));

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list