while(1)
{
sPiece = sLine.Mid(sLine.ReverseFind(';')+1);
- sLine = sLine.Left(sLine.ReverseFind(';')-1);
+ sLine = sLine.Left(sLine.ReverseFind(';'));
if (sPiece.IsEmpty())
break;
BOOL PluginInfo::TestAgainstRegList(LPCTSTR szTest)
{
- if (filters && szTest && szTest[0])
- return (::TestAgainstRegList(*filters, szTest));
- else
+ if (filters == NULL || szTest == NULL || szTest[0] == 0)
return FALSE;
+
+ CString sLine = szTest;
+ CString sPiece;
+
+ while(1)
+ {
+ sPiece = sLine.Mid(sLine.ReverseFind('|')+1);
+ sLine = sLine.Left(sLine.ReverseFind('|'));
+ if (sPiece.IsEmpty())
+ break;
+
+ sPiece.TrimLeft();
+ sPiece.MakeUpper();
+
+ if (::TestAgainstRegList(*filters, sPiece))
+ return TRUE;
+ };
+
+ return FALSE;
}
+2003-11-04 Laoran
+ fix to test plugin filter with left & right filenames (instead of just right one)
+ WinMerge: Plugins.cpp
+ PATCH: [ 833961 ] Swedish translation 2.1
+ Submitted by Göran Håkansson
+ Languages: BuildAll.bat
+ Languages\Swedish: MergeSwedish.rc MergeSwedish_LastTranslation.rc resource.h
+ Languages\Swedish\res : all files
+
2003-11-04 Kimmo
PATCH: [ 831052 ] Write version and configuration info
WinMerge: MainFrm.h MainFrm.cpp Merge.dsp Merge.rc resource.h