Skip to content

Commit

Permalink
Merge pull request #55 from Nightfirecat/master
Browse files Browse the repository at this point in the history
Catch error on StringReverse function missing, fixes #54
  • Loading branch information
atomizer committed Jul 8, 2014
2 parents a71d4d2 + 8aafda5 commit f78c2bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/mulelogin.au3
Expand Up @@ -52,6 +52,9 @@ Func _length($string)
$declength = Floor($declength/2)
WEnd
$binlength = StringReverse($binlength)
if @error <> 0 Then
$binlength = _StringReverse($binlength)
EndIf
$binlength = $binlength & "1"
$array = StringSplit($binlength,"")
For $i = 1 To $array[0]
Expand Down

0 comments on commit f78c2bc

Please sign in to comment.