Skip to content

Commit ba994bc

Browse files
committed
Fix file type reportings
1 parent 722ce2e commit ba994bc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ShellDLL/FoldRoot.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,10 @@ STDMETHODIMP CFTPDirectoryRootBase::IsTextFile(BSTR lpszFileName, VARIANT_BOOL*
293293
for (int i = 0; i < m_arrTextFileType.GetCount(); i++)
294294
{
295295
if (::MyMatchWildcardW(lpFile, m_arrTextFileType.GetItem(i)))
296+
{
297+
*pbRet = VARIANT_TRUE;
296298
return S_OK;
299+
}
297300
}
298301
if (m_bUseSystemTextFileType)
299302
{

0 commit comments

Comments
 (0)