From 1815ec2b8cd1bfc80dfaf5dfe78bf66e933608e1 Mon Sep 17 00:00:00 2001 From: nightfox <> Date: Mon, 26 Mar 2018 19:55:29 +0000 Subject: [PATCH] Bug fix in the SetBorderChars method: Missing an index ([i]) into an array --- exec/load/DDLightbarMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/load/DDLightbarMenu.js b/exec/load/DDLightbarMenu.js index 6e8dcda3d4..46b8c21c09 100644 --- a/exec/load/DDLightbarMenu.js +++ b/exec/load/DDLightbarMenu.js @@ -1120,7 +1120,7 @@ function DDLightbarMenu_SetBorderChars(pBorderChars) "top", "bottom", "left", "right" ]; for (var i = 0; i < borderPropNames.length; ++i) { - if (pBorderChars.hasOwnProperty(borderPropNames)) + if (pBorderChars.hasOwnProperty(borderPropNames[i])) this.borderChars[borderPropNames[i]] = pBorderChars[borderPropNames[i]]; } } -- GitLab