mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-26 15:26:43 +00:00
Improve CopySingle 'progress' indicator.
This commit is contained in:
parent
da01da14eb
commit
2cb7e9f7a0
1 changed files with 3 additions and 2 deletions
|
@ -57,7 +57,7 @@ Bool CopySingle(U8 *f1, U8 *f2) //Just one file
|
|||
out_file = FOpen(f2, "w", count);
|
||||
if (out_file)
|
||||
{
|
||||
"Copying %s to %s ", f1, f2;
|
||||
"Copying %s to %s", f1, f2;
|
||||
j = size;
|
||||
while (count > 0)
|
||||
{
|
||||
|
@ -65,7 +65,8 @@ Bool CopySingle(U8 *f1, U8 *f2) //Just one file
|
|||
{
|
||||
n = COPY_BUF_BLKS;
|
||||
i = n << BLK_SIZE_BITS;
|
||||
".";
|
||||
if (size)
|
||||
"\n [ %0.2f%% ]", 100 * ToF64(size - j) / size;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue