--- menu.c~ 2003-09-14 12:42:02.000000000 +0100
+++ menu.c 2003-09-14 12:49:11.707073096 +0100
@@ -2868,7 +2868,7 @@
:cBitmap(Width, Height, 2)
{
int l = Prompt ? cBitmap::Width(Prompt) : 0;
- int p = (Width - l) * Current / Total;
+ int p = (Width - l - 1) * Current / Total;
Text(0, 0, Prompt, clrGreen);
Fill(l, 0, p, Height - 1, clrGreen);
Fill(l + p, 0, Width - 1, Height - 1, clrWhite);
I've looked at this over and over again, but I fail to
see why subtracting 1 there would make that big a difference here.
Can you please test whether just changing the line
Fill(l + p, 0, Width - 1, Height - 1, clrWhite);
to
Fill(l + p, 0, Width - l - p - 1, Height - 1, clrWhite);
also fixes this?
Don't forget to revert the above change first.
Klaus
I'm not in front of the machine to test it right now. I think my fix is
the correct one.