The progress would halt at 20% for a while. This will make it run nice
and continuously.


Index: suspend.c
===================================================================
--- suspend.c   (revision 158)
+++ suspend.c   (revision 159)
@@ -425,8 +425,7 @@
                                break;
                        if (!(nr_pages % m)) {
                                printf("\b\b\b\b%3d%%", nr_pages / m);
-                               if ((nr_pages / m) >= 20 && (nr_pages / m) <= 
95)
-                                       splash.progress(nr_pages / m);
+                               splash.progress(20 + (nr_pages / m) * 0.75);
                        }
                        if (!(nr_pages % writeout_rate))
                                start_writeout(handle->fd);

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to