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:
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... */
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user