mirror of
https://github.com/airstruck/luigi.git
synced 2026-02-22 03:46:52 -07:00
add dark theme
This commit is contained in:
@@ -210,9 +210,7 @@ function Font:constructor (path, size)
|
||||
local font = SDL2_ttf.TTF_OpenFont(path, size)
|
||||
|
||||
if font == nil then
|
||||
io.stderr:write(ffi.string(sdl.getError()))
|
||||
sdl.quit()
|
||||
os.exit(1)
|
||||
error(ffi.string(sdl.getError()))
|
||||
end
|
||||
|
||||
fontCache[key] = font
|
||||
|
||||
Reference in New Issue
Block a user