From a3e770afd93b24b6882157487e03ed4711e6c3d0 Mon Sep 17 00:00:00 2001 From: Sup Yut Sum Date: Sun, 24 Mar 2013 02:35:41 +0800 Subject: [PATCH] diff-xls.js: objExcelApp isn't even created when neither Office nor OpenOffice are installed so check for that instead of null Based on TortoiseSVN revision 24042 Signed-off-by: Sup Yut Sum --- contrib/diff-scripts/diff-xls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/diff-scripts/diff-xls.js b/contrib/diff-scripts/diff-xls.js index 4a0a1059a..ba148aa9c 100644 --- a/contrib/diff-scripts/diff-xls.js +++ b/contrib/diff-scripts/diff-xls.js @@ -209,7 +209,7 @@ function MsgBox(sMessage, iButtons, sTitle) function Abort(sMessage, sTitle) { MsgBox(sMessage, vbCritical, sTitle); - if (objExcelApp !== null) + if (objExcelApp) { objExcelApp.Quit(); } -- 2.11.4.GIT