Corrected bad error printing on PC
This commit is contained in:
parent
a990084da7
commit
63be5f9435
|
@ -74,6 +74,9 @@ void addToList(Object *dest, const Object src)
|
|||
void printErr(const Object *obj)
|
||||
{
|
||||
#ifdef STANDALONE
|
||||
if(!obj || obj->type != TYPE_ERROR)
|
||||
return;
|
||||
|
||||
printf("%s\n", errorText[(int)(obj->err)]);
|
||||
#endif
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue