Skip to content

Commit

Permalink
Fix #174
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmaehl committed Sep 2, 2022
1 parent ca2d13e commit 65331e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion MSEdgeRedirect.au3
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ Func ActiveMode(ByRef $aCMDLine)

Select
Case $aCMDLine[0] = 1 ; No Parameters
ContinueCase
Case $aCMDLine[0] = 2 And UBound($aCMDLine) < 2
ReDim $aCMDLine[3]
$aCMDLine[2] = ""
ContinueCase
Expand Down Expand Up @@ -399,7 +401,7 @@ Func RepairCMDLine($aCMDLine)
EndSelect

$aCMDLine = StringSplit($sCMDLine, "|", $STR_NOCOUNT)
$aCMDLine[0] = UBound($aCMDLine)
$aCMDLine[0] = UBound($aCMDLine) - 1

Return $aCMDLine

Expand Down

0 comments on commit 65331e9

Please sign in to comment.