From cee5cd6cc72d45327c34a6f39a1e1b7ac3f1fcab Mon Sep 17 00:00:00 2001 From: darkvater Date: Thu, 23 Sep 2004 21:39:55 +0000 Subject: (svn r315) -Fix: starting with -r option allows all resolutions (including 666x666) (t r o n) --- ttd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ttd.c b/ttd.c index 7043627e8..215aa09fb 100644 --- a/ttd.c +++ b/ttd.c @@ -472,8 +472,8 @@ void ParseResolution(int res[2], char *s) return; } - res[0] = (strtoul(s, NULL, 0) + 7) & ~7; - res[1] = (strtoul(t+1, NULL, 0) + 7) & ~7; + res[0] = (strtoul(s, NULL, 0) + 7); + res[1] = (strtoul(t+1, NULL, 0) + 7); } int ttd_main(int argc, char* argv[]) -- cgit v1.2.3-70-g09d2