1
0
Fork 0

DBG: some small code fixes

This commit is contained in:
Mr. eXoDia 2014-12-12 17:08:49 +01:00
parent 54fbc038df
commit 5230ba3543
2 changed files with 2 additions and 2 deletions

View File

@ -1006,7 +1006,7 @@ CMDRESULT cbInstrGetstr(int argc, char* argv[])
dprintf("failed to get variable data \"%s\"!\n", argv[1]);
return STATUS_ERROR;
}
dprintf("%s=\"%s\"\n", argv[1], string);
dprintf("%s=\"%s\"\n", argv[1], string());
return STATUS_CONTINUE;
}

View File

@ -163,7 +163,7 @@ static bool scriptcreatelinemap(const char* filename)
}
int rawlen = (int)strlen(cur.raw);
if(!strlen(cur.raw)) //empty
if(!rawlen) //empty
{
cur.type = lineempty;
}