[xiph-commits] r18439 - trunk/spectrum
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Mon Jul 2 23:20:52 PDT 2012
Author: xiphmont
Date: 2012-07-02 23:20:52 -0700 (Mon, 02 Jul 2012)
New Revision: 18439
Modified:
trunk/spectrum/version.h
trunk/spectrum/wave_plot.c
Log:
Fix trace sep handling when channels are inactive
Modified: trunk/spectrum/version.h
===================================================================
--- trunk/spectrum/version.h 2012-07-03 06:15:11 UTC (rev 18438)
+++ trunk/spectrum/version.h 2012-07-03 06:20:52 UTC (rev 18439)
@@ -1,2 +1,2 @@
#define VERSION "$Id$ "
-/* DO NOT EDIT: Automated versioning hack [Tue Jul 3 02:12:25 EDT 2012] */
+/* DO NOT EDIT: Automated versioning hack [Tue Jul 3 02:19:53 EDT 2012] */
Modified: trunk/spectrum/wave_plot.c
===================================================================
--- trunk/spectrum/wave_plot.c 2012-07-03 06:15:11 UTC (rev 18438)
+++ trunk/spectrum/wave_plot.c 2012-07-03 06:20:52 UTC (rev 18439)
@@ -241,7 +241,7 @@
if(f->active[i]){
float *data=f->data[i];
float cp = pp->trace_sep ?
- (height-p->pady)*(16*i+8)/(float)(18*num_active)+
+ (height-p->pady)*(16*ach+8)/(float)(18*num_active)+
(height-p->pady)/18. : center;
ach++;
More information about the commits
mailing list