Skip to content

Commit 5791e0e

Browse files
authored
Merge pull request gustavostuff#16 from ankit-g/master
Fixed: Exit Button Fail Example 1
2 parents 6996723 + 4868405 commit 5791e0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gooi/gooi.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2325,7 +2325,7 @@ function gooi.checkBounds(text, x, y, w, h, t)
23252325
end
23262326

23272327
function gooi.getFont(comp)
2328-
if comp and comp.style.font then
2328+
if comp and comp.style and comp.style.font then
23292329
return comp.style.font
23302330
end
23312331
return gooi.font or gooi.defaultFont

0 commit comments

Comments
 (0)