(svn r315) -Fix: starting with -r option allows all resolutions (including 666x666) (t r o n)

This commit is contained in:
darkvater 2004-09-23 21:39:55 +00:00
parent 36f18e7f40
commit cee5cd6cc7
1 changed files with 2 additions and 2 deletions

4
ttd.c
View File

@ -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[])