mirror of
https://github.com/cc65/cc65.git
synced 2024-07-05 06:28:57 +00:00
Don't count the NULL (doh!).
This commit is contained in:
parent
a132bc4b28
commit
d280d2610e
@ -210,11 +210,11 @@ void InitCmdLine (int* aArgCount, char*** aArgVec, const char* aProgName)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Store the new argument list in a safe place... */
|
/* Store the new argument list in a safe place... */
|
||||||
ArgCount = L.Count;
|
ArgCount = L.Count - 1;
|
||||||
ArgVec = L.Vec;
|
ArgVec = L.Vec;
|
||||||
|
|
||||||
/* ...and pass back the changed data also */
|
/* ...and pass back the changed data also */
|
||||||
*aArgCount = L.Count;
|
*aArgCount = L.Count - 1;
|
||||||
*aArgVec = L.Vec;
|
*aArgVec = L.Vec;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user