WINGs: Do not call exit()
commita568686b39a1f7a5745afbf4d53378a489ee2d73
authorCarlos R. Mafra <crmafra@gmail.com>
Sat, 18 Feb 2012 00:10:48 +0000 (18 00:10 +0000)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 18 Feb 2012 00:10:48 +0000 (18 00:10 +0000)
tree8f683ee1a7678181972f86fe74fbb6a066bfe5e5
parent0173fe896dd3d89904b6cc540b8e32e93b3693c1
WINGs: Do not call exit()

WMCreateFont() was calling exit() if it could not create the
font, and was trying too hard not to return NULL.

Just return NULL if the font could not be created instead of exit()ing
and let callers decide what to do upon failure.

Thanks to Christian <chris@computersalat.de> for reporting this.
WINGs/wfont.c