Typo
[paraslash.git] / slider.c
index 558f55bde07e4f5740fa128e32838ef73c42e2d8..9b7f96c8eac674970f862fd522ca399c78d7457f 100644 (file)
--- a/slider.c
+++ b/slider.c
@@ -28,7 +28,7 @@
 #define VAL_2_SL_VAL(v) (v) * (SLIDER_RATIO - 1.0) / SLIDER_RATIO
 #define SL_VAL_2_VAL(v) (v) * SLIDER_RATIO / (SLIDER_RATIO - 1.0)
 #define VAL_2_SCORE(v) (v) > 0.5? 1 / (1.03 - (v)) / (1.03 - (v)) :\
-        - 1 / ((v) + 0.03) / ((v) + 0.03)
+       - 1 / ((v) + 0.03) / ((v) + 0.03)
 
 #define RGB(R,G,B) (((R)<<12) + ((G)<<6) + (B))
 
 #define NUMPLAYED_FORMULA(v)\
        10 * (v) + (v) / (1 - (v) * (1 - EPSILON))
 
-
 static int argc;
 static char **argv;
 char *streamname = NULL;
 static Zmw_Float_0_1 *slider_vals, lastplayed_val, numplayed_val;
 
-#if 0
-static void boxed_text(const char *text, int i)
-{
-  ZMW(zmw_decorator(Zmw_Decorator_Border_Embossed))
-    {
-      if (i == 2)
-        {
-          zmw_horizontal_expand(Zmw_False) ;
-          zmw_vertical_expand(Zmw_False) ;
-        }
-      zmw_label(text) ;
-    }
-}
-#endif
-
-void para_log(int ll, char* fmt,...) /* no logging */
+void para_log(int ll, const char* fmt,...) /* no logging */
 {
 }