msi: script: Discriminate properly between JScript and VBScript.

Misha Koshelev mk144210 at bcm.edu
Fri May 4 08:10:21 CDT 2007


The MSI script flags are defined as follows:
msidbCustomActionTypeJScript = 5
msidbCustomActionTypeVBScript = 6

Checking if (6 & msidbCustomActionTypeJScript) will be true (as this is 4), whereas we want it to be false (otherwise all
VBScripts are thought to be JScripts). This changes the check so VBScripts are properly determined to be VBScripts and not
JScripts.

Changelog:

	* msi: script: Discriminate properly between JScript and VBScript.

---
 dlls/msi/script.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 23fdf27a3a8803ec93f802973b2d5643471cb46b.diff
Type: text/x-patch
Size: 755 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070504/95569876/23fdf27a3a8803ec93f802973b2d5643471cb46b.bin


More information about the wine-patches mailing list