marrub
/
LoveToken
Archived
1
0
Fork 0

oh that's why

master
Marrub 2015-08-06 09:20:53 -04:00
parent 0eafe62d22
commit 537179902a
1 changed files with 10 additions and 1 deletions

View File

@ -424,7 +424,16 @@ LT_BOOL LT_Assert(LT_BOOL assertion, const char *fmt, ...)
if(assertion)
{
char *asBuffer = LT_Alloc(512);
int place = (int)ftell(parseFile);
int place;
if(parseFile != NULL)
{
place = (int)ftell(parseFile);
}
else
{
place = -1;
}
va_list va;
assertError = LT_TRUE;