Allow searchforward to be an string

bug/bundler_fix
jvazquez-r7 2015-01-16 19:33:19 -06:00
parent 3297d198f3
commit 859a8978e7
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class Egghunter
flippage = "\n\tor dx,0xfff"
edxdirection = "\n\tinc edx"
if searchforward == false
if searchforward.to_s.downcase == 'false'
# go backwards
flippage = "\n\txor dl,dl"
edxdirection = "\n\tdec edx"