diff --git a/programs/develop/libraries/box_lib/trunk/progressbar.mac b/programs/develop/libraries/box_lib/trunk/progressbar.mac index 1bdad5511e..ca49be7b49 100644 --- a/programs/develop/libraries/box_lib/trunk/progressbar.mac +++ b/programs/develop/libraries/box_lib/trunk/progressbar.mac @@ -79,10 +79,9 @@ get_progress_width: dec esi sub eax, ecx dec esi - imul eax, esi neg ecx add ecx, edx - xor edx, edx + mul esi div ecx ret