msi: Simplify condition in TABLE_fetch_stream().

This commit is contained in:
Gerald Pfeifer 2008-01-01 12:21:52 +01:00 committed by Alexandre Julliard
parent 70d82dfbd9
commit f7fea9e9f0
1 changed files with 1 additions and 1 deletions

View File

@ -1206,7 +1206,7 @@ static UINT TABLE_fetch_stream( struct tagMSIVIEW *view, UINT row, UINT col, ISt
return r;
/* check the column value is in range */
if (ival < 0 || ival > tv->num_cols || ival == col)
if (ival > tv->num_cols || ival == col)
{
ERR("bad column ref (%u) for stream\n", ival);
return ERROR_FUNCTION_FAILED;