Skip to content

Commit

Permalink
Enclose MsgBox call with parenthesis.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas committed Aug 5, 2017
1 parent 4e46c3f commit 4c8bc54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions msgbox.vbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ Set objArgs = WScript.Arguments
messageText = objArgs(0)
messageType = objArgs(1)
messageTitle = objArgs(2)
retValue = MsgBox messageText, messageType, messageTitle
WScript.Quit (retValue - 1)
retValue = MsgBox(messageText, messageType, messageTitle)
WScript.Quit (retValue - 1)

0 comments on commit 4c8bc54

Please sign in to comment.