winex11: Don't trace a garbage value or read past end of caller's array in X11DRV_wglChoosePixelFormatARB().

This commit is contained in:
Ken Thomases 2013-09-19 20:37:16 -05:00 committed by Alexandre Julliard
parent bf61195574
commit cf973bd28d
1 changed files with 1 additions and 1 deletions

View File

@ -2520,7 +2520,7 @@ static BOOL X11DRV_wglChoosePixelFormatARB( HDC hdc, const int *piAttribIList, c
{
piFormats[pfmt_it++] = i + 1;
TRACE("at %d/%d found FBCONFIG_ID 0x%x (%d)\n",
it + 1, nCfgs, fmt_id, piFormats[pfmt_it]);
it + 1, nCfgs, fmt_id, i + 1);
break;
}
}