1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00

Don't count the NULL (doh!).

This commit is contained in:
Greg King 2015-08-30 07:55:07 -04:00
parent a132bc4b28
commit d280d2610e

View File

@ -210,11 +210,11 @@ void InitCmdLine (int* aArgCount, char*** aArgVec, const char* aProgName)
}
/* Store the new argument list in a safe place... */
ArgCount = L.Count;
ArgCount = L.Count - 1;
ArgVec = L.Vec;
/* ...and pass back the changed data also */
*aArgCount = L.Count;
*aArgCount = L.Count - 1;
*aArgVec = L.Vec;
}