make typefinding work when the src provides caps. Fixes #93735

Original commit message from CVS:
make typefinding work when the src provides caps. Fixes #93735
2 files changed