15% of events. My stupid code didn't account of 0array being 1 less the actual count.
Kartik Thakore [Wed, 4 Nov 2009 16:56:38 +0000 (11:56 -0500)]
t/core_events.t

index 5648691..c4526ee 100644 (file)
@@ -50,7 +50,7 @@ StopTextInput
 SetTextInputRect 
 /;
 
-my $why = '[Percentage Completion] '.int( 100 * $#done / ($#done + $#left) ) ."\% implementation. $#done / ".($#done+$#left); 
+my $why = '[Percentage Completion] '.int( 100 * ($#done +1 ) / ($#done + $#left + 2  ) ) .'% implementation. '.($#done +1 ).'/'.($#done+$#left + 2 ); 
 
 TODO:
 {