Skip to content

Commit

Permalink
[fix] Return fail status for SDL (#874)
Browse files Browse the repository at this point in the history
Fixes minor typo with embarrassing consequences from #873

The file I committed accidentally wasn't 100 % the same as the one I tested. That would've blown up in a pretty embarrassing way.
  • Loading branch information
Frenzie authored Mar 21, 2019
1 parent 148eb32 commit 23d8c0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ffi/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@ function util.ffiLoadCandidates(candidates)
end
end

-- we failed, this is the error message
return lib
-- we failed, lib is the error message
return lib_loaded, lib
end

--- Returns true if isWindows…
Expand Down

0 comments on commit 23d8c0b

Please sign in to comment.