Update source/Main.brs
Co-authored-by: Charles Ewert <cewert@gmail.com>
This commit is contained in:
parent
d111a63ee9
commit
d9a8c185cf
|
@ -68,7 +68,7 @@ sub Main (args as dynamic) as void
|
|||
filename = APIRequest("FallbackFont/Fonts").GetToString()
|
||||
if isValid(filename)
|
||||
filename = re.match(filename)
|
||||
if filename.count() > 0
|
||||
if isValid(filename) and filename.count() > 0
|
||||
filename = filename[1]
|
||||
APIRequest("FallbackFont/Fonts/" + filename).gettofile("tmp:/font")
|
||||
end if
|
||||
|
|
Loading…
Reference in New Issue
Block a user