kopia lustrzana https://gitlab.com/sane-project/frontends
Remove debugging statements.
rodzic
34a0ebb0b5
commit
85dcb55761
|
@ -127,7 +127,6 @@ progress_update (Progress_t * p, gfloat newval)
|
||||||
|
|
||||||
#ifdef HAVE_SYS_TIME_H
|
#ifdef HAVE_SYS_TIME_H
|
||||||
|
|
||||||
fprintf(stderr, "Hello!!!!!!!\n");
|
|
||||||
gettimeofday (&tv, NULL);
|
gettimeofday (&tv, NULL);
|
||||||
now = tv.tv_sec * 1000 + tv.tv_usec / 1000;
|
now = tv.tv_sec * 1000 + tv.tv_usec / 1000;
|
||||||
|
|
||||||
|
@ -140,7 +139,6 @@ progress_update (Progress_t * p, gfloat newval)
|
||||||
|
|
||||||
if (newval > p->firstVal && now - p->lastTime > 1000)
|
if (newval > p->firstVal && now - p->lastTime > 1000)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Hello2!!!!!!!\n");
|
|
||||||
remaining =
|
remaining =
|
||||||
(int) ((now - p->firstTime) * (1.0 - newval) / (newval -
|
(int) ((now - p->firstTime) * (1.0 - newval) / (newval -
|
||||||
p->firstVal) /
|
p->firstVal) /
|
||||||
|
|
Ładowanie…
Reference in New Issue