fix brackets

svn path=/trunk/; revision=36365
This commit is contained in:
Christoph von Wittich 2008-09-21 06:42:21 +00:00
parent aa46f44e50
commit 295baae2f3

View file

@ -82,7 +82,7 @@ int _tgetopt(int argc, _TCHAR * const argv[], const _TCHAR * optstring)
++ s_nArgChar;
/* unrecognized option */
if(_toptopt == _T(':') || (pcOptChar = _tcschr(optstring, _toptopt)) == NULL)
if((_toptopt == _T(':')) || ((pcOptChar = _tcschr(optstring, _toptopt)) == NULL))
{
/* print an error message */
if(_topterr && optstring[0] != _T(':'))