ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Thu Apr 27, 2017 1:26 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat May 05, 2012 5:25 am 
Offline
Perspiring Physicist

Joined: Tue Jul 13, 2010 2:53 pm
Posts: 1332
The sdl_new_font function in core_lua.c attempts to load a font from the provided path, but there is no check that I can see for if the file actually exists. This caused me a lot of head scratching earlier today when I was referencing a non-existing font file (and directory) that resulted in segmentation faults. Should we check for the file's existence and throw a Lua error if it does not?

_________________
Quote:
<DarkGod> lets say it's intended


Top
 Profile  
 
PostPosted: Sun May 06, 2012 2:22 pm 
Offline
Master of Eyal

Joined: Wed Jul 24, 2002 9:26 pm
Posts: 10090
Location: Angolwen
done

_________________
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group