OSDN Git Service

[ 830072 ] "Unload script" does not work
authorLaurent Ganier <laoran@users.sourceforge.net>
Sat, 25 Oct 2003 10:42:20 +0000 (10:42 +0000)
committerLaurent Ganier <laoran@users.sourceforge.net>
Sat, 25 Oct 2003 10:42:20 +0000 (10:42 +0000)
Src/FileTransform.cpp
Src/MergeEditView.cpp
Src/readme.txt

index a2167d7..d8535ae 100644 (file)
@@ -782,9 +782,6 @@ BOOL TextTransform_Interactive(CString & text, LPCWSTR TransformationEvent,
        PluginArray * piScriptArray = 
                CScriptsOfThread::GetScriptsOfThreads()->GetAvailableScripts(TransformationEvent);
 
-       if (piScriptArray->GetSize() == 0)
-               return FALSE;
-
        // allocate structures : function name, ordinal of script, function Id in script
        CDWordArray iInScriptArray;
        CDWordArray iIdArray;
index 6ea29a2..f8fe4d1 100644 (file)
@@ -1466,7 +1466,7 @@ int callbackForContextMenu(CStringArray * functionNamesList, void * receivedData
        {
                if (response == 100)
                {
-                       CScriptsOfThread::GetScriptsOfThreads()->FreeScriptsForEvent(L"USER_CONTEXT_MENU");
+                       CScriptsOfThread::GetScriptsOfThreads()->FreeScriptsForEvent(L"CONTEXT_MENU");
                }
                else
                        return response-101;
index 54401ee..5817f64 100644 (file)
@@ -1,3 +1,7 @@
+2003-10-25 Laoran
+ [ 830072 ] "Unload script" does not work
+  WinMerge: FileTransform.cpp MergeEditView.cpp
+
 2003-10-25 Perry
  Fix spelling of "delimiter" in comments.
   WinMerge: MainFrm.cpp
@@ -25,6 +29,7 @@
  PATCH: [ 828283 ] Open Read-only files as such
   WinMerge: DirView.cpp files.h files.cpp MainFrm.cpp
 
+>>>>>>> 1.509
 2003-10-24 Perry
  BUG: [ 829437 ] Can't compare two files with unicode filenames
   WinMerge: Diff.cpp