From 4eafcdedf7a160b4e882ff25ceca77b00d7b56bc Mon Sep 17 00:00:00 2001 From: sdottaka Date: Thu, 5 Dec 2024 08:29:03 +0900 Subject: [PATCH] Fix issue #2566: WinMerge 2.16.44.0 : CompareMSWordFiles.sct Plugin : Forced Enabled Confirm Conversions Pop-Up --- Plugins/dlls/CompareMSWordFiles.sct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/dlls/CompareMSWordFiles.sct b/Plugins/dlls/CompareMSWordFiles.sct index 676bebdfe62..893bf9e88e8 100644 --- a/Plugins/dlls/CompareMSWordFiles.sct +++ b/Plugins/dlls/CompareMSWordFiles.sct @@ -194,7 +194,7 @@ function UnpackFile(fileSrc, fileDst, pbChanged, pSubcode) { throw new Error(30001, "CompareMSWordFiles.sct: " + fileSrc + ": Target file '" + fileSrc2 + "' not found"); } } - var doc = wd.Documents.Open(fileSrc2, -1, -1); + var doc = wd.Documents.Open(fileSrc2, 0, -1); if (regRead(REGKEY_PATH + "CompareDocumentProperties", false)) { fo.WriteLine("[Document Properties]"); @@ -283,7 +283,7 @@ function UnpackFolder(fileSrc, folderDst, pbChanged, pSubcode) { throw new Error(30001, "CompareMSWordFiles.sct: " + fileSrc + ": Target file '" + fileSrc2 + "' not found"); } } - var doc = wd.Documents.Open(fileSrc2, -1, -1); + var doc = wd.Documents.Open(fileSrc2, 0, -1); if (regRead(REGKEY_PATH + "CompareDocumentProperties", false)) { var fo = fso.CreateTextFile(fso.BuildPath(folderDst, "(0)DocumentProperties.txt"), true, true);