audiofile support + improved sample rate support + results of a -Wall -Werr
[terminatorX.git] / src / tX_loaddlg.cc
index fec72291c082ecef819897ec71efb05a172c0cfb..b370c8870dda14b09811678a313b2b18dfae0b1f 100644 (file)
@@ -179,8 +179,8 @@ void ld_set_filename(char *name)
 
 void ld_set_progress(gfloat progress)
 {
-       progress=floor(progress*1000.0)/1000.0;
-       
+       progress=floor(progress*200.0)/200.0;
+       if (progress>1.0) progress=1.0;
        //printf("%f\n", progress);
        
        if (progress!=ld_old_prog)