Skip to content

Commit

Permalink
Fix issue #2566: WinMerge 2.16.44.0 : CompareMSWordFiles.sct Plugin :…
Browse files Browse the repository at this point in the history
… Forced Enabled Confirm Conversions Pop-Up
  • Loading branch information
sdottaka committed Dec 4, 2024
1 parent 5543811 commit 4eafcde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plugins/dlls/CompareMSWordFiles.sct
Original file line number Diff line number Diff line change
Expand Up @@ -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]");
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 4eafcde

Please sign in to comment.