From 23d8c0b89f5a98b0db3e4780531da9fbe8e085b0 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Thu, 21 Mar 2019 08:26:00 +0100 Subject: [PATCH] [fix] Return fail status for SDL (#874) Fixes minor typo with embarrassing consequences from https://github.com/koreader/koreader-base/pull/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. --- ffi/util.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ffi/util.lua b/ffi/util.lua index e907e83ee..2d37f8c63 100644 --- a/ffi/util.lua +++ b/ffi/util.lua @@ -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…