[xiph-commits] r18416 - trunk/spectrum

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Tue Jun 19 21:36:17 PDT 2012


Author: xiphmont
Date: 2012-06-19 21:36:17 -0700 (Tue, 19 Jun 2012)
New Revision: 18416

Modified:
   trunk/spectrum/version.h
   trunk/spectrum/wave_panel.c
   trunk/spectrum/wave_plot.c
Log:
re-add smallest spans
correct pixel offset error with lollipops and bold mode


Modified: trunk/spectrum/version.h
===================================================================
--- trunk/spectrum/version.h	2012-06-20 04:14:04 UTC (rev 18415)
+++ trunk/spectrum/version.h	2012-06-20 04:36:17 UTC (rev 18416)
@@ -1,2 +1,2 @@
 #define VERSION "$Id$ "
-/* DO NOT EDIT: Automated versioning hack [Wed Jun 20 00:07:32 EDT 2012] */
+/* DO NOT EDIT: Automated versioning hack [Wed Jun 20 00:35:48 EDT 2012] */

Modified: trunk/spectrum/wave_panel.c
===================================================================
--- trunk/spectrum/wave_panel.c	2012-06-20 04:14:04 UTC (rev 18415)
+++ trunk/spectrum/wave_panel.c	2012-06-20 04:36:17 UTC (rev 18416)
@@ -654,7 +654,7 @@
     char *entries[]={"1s",
                      "500ms","200ms","100ms",
                      "50ms","20ms","10ms",
-                     "5ms","2ms","1ms",NULL,
+                     "5ms","2ms","1ms",
                      "500\xCE\xBCs","200\xCE\xBCs",
                      "100\xCE\xBCs"};
     for(i=0;entries[i];i++)

Modified: trunk/spectrum/wave_plot.c
===================================================================
--- trunk/spectrum/wave_plot.c	2012-06-20 04:14:04 UTC (rev 18415)
+++ trunk/spectrum/wave_plot.c	2012-06-20 04:36:17 UTC (rev 18416)
@@ -393,7 +393,7 @@
 
                 if(x1>x0){
                   if(!isnan(yL) || !isnan(yH)){
-                    if(isnan(yL) || yL>0)yL=0;
+                    if(isnan(yL) || yL>0)yL=pp->bold;
                     if(isnan(yH) || yH<0)yH=0;
                     gdk_draw_line(p->backing,p->twogc,
                                   x0+padx,rintf(yL+cp),x0+padx,
@@ -410,7 +410,7 @@
               }
               {
                 if(!isnan(yL) || !isnan(yH)){
-                  if(isnan(yL) || yL>0)yL=0;
+                  if(isnan(yL) || yL>0)yL=pp->bold;
                   if(isnan(yH) || yH<0)yH=0;
                   gdk_draw_line(p->backing,p->twogc,
                                 x0+padx,rintf(yL+cp),x0+padx,



More information about the commits mailing list