From: Shiar Date: Thu, 7 Feb 2008 22:23:37 +0000 (+0100) Subject: fix game capture position of timer X-Git-Url: http://git.shiar.net/perl/schtarr.git/commitdiff_plain/19491e04143fd9b9ef5ebe209550bfb4e1f6c61c fix game capture position of timer Offset 586 included a leading semicolon at "Elapsed Time: 11:11" (shortest text displayed, so furthermost left). --- diff --git a/capture b/capture index 1ef47e8..722e77f 100755 --- a/capture +++ b/capture @@ -200,7 +200,7 @@ sub capturestats { screenshot(left=>452, top=>6, right=>639, bottom=>13) ); my ($sec, $time) = parsetimer( - screenshot(left=>586, right=>621, top=>396, bottom=>402) + screenshot(left=>587, right=>621, top=>396, bottom=>402) ); $time ne '?' or next; printf {$outstats} "%d:\t%s\t%s\t%s\t%s\t%s\n",