Commit 122d6f4f authored by rswindell's avatar rswindell
Browse files

Don't call uifc.bail() if the function pointer is NULL (uninitialized).

parent b8d689cc
......@@ -61,7 +61,8 @@ uifcapi_t uifc;
void bail(int code)
{
uifc.bail();
if(uifc.bail!=NULL)
uifc.bail();
exit(code);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment