From c6a1b9649bdbc13849389e345bd5e66e08cfd680 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Sat, 8 Mar 2008 23:44:51 +0000 Subject: [PATCH] Stop importing msxml.dll when it's not needed anyway, and a string literal was not marked with _T() when it should. Originally committed to SVN as r1985. --- vsfilter/subtitles/GFN.cpp | 2 +- vsfilter/subtitles/stdafx.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/vsfilter/subtitles/GFN.cpp b/vsfilter/subtitles/GFN.cpp index 4c3d2d1a6..879a4b497 100644 --- a/vsfilter/subtitles/GFN.cpp +++ b/vsfilter/subtitles/GFN.cpp @@ -102,7 +102,7 @@ void GetSubFileNames(CString fn, CAtlArray& paths, CAtlArray& bool fEmpty = true; - if((hFile = FindFirstFile(path + title + "*", &wfd)) != INVALID_HANDLE_VALUE) + if((hFile = FindFirstFile(path + title + _T("*"), &wfd)) != INVALID_HANDLE_VALUE) { do { diff --git a/vsfilter/subtitles/stdafx.h b/vsfilter/subtitles/stdafx.h index 337dd9785..11f52354b 100644 --- a/vsfilter/subtitles/stdafx.h +++ b/vsfilter/subtitles/stdafx.h @@ -39,5 +39,4 @@ // TODO: reference additional headers your program requires here #include -#import "msxml.dll" #include "..\DSUtil\DSUtil.h"