Package: wordwarvi Version: 1.0.4-2 Severity: minor Tags: patch Dear Maintainer,
wordwarvi shows some metrics before quitting the game. But the lines/sec value is negative, clearly wrong. >ban@blackbox$ wordwarvi (snip) >363 frames / 12 seconds, 30.25 frames/sec >Total lines = 476481, lines/sec = -1656883213.999712 >ban@blackbox$ This patch will fix it: --- wordwarvi-1.0.4.orig/wordwarvi.c +++ wordwarvi-1.0.4/wordwarvi.c @@ -11340,7 +11340,7 @@ void really_quit() (0.0 + nframes) / (0.0 + end_time.tv_sec - start_time.tv_sec)); printf("Total lines = %lu, lines/sec = %f\n", total_line_count, (double) total_line_count / - (double) end_time.tv_sec - start_time.tv_sec); + (double) (end_time.tv_sec - start_time.tv_sec)); destroy_event(); } Regards, Nobuhiro Ban