mirror of
https://github.com/reactos/reactos.git
synced 2025-05-31 06:58:10 +00:00
Fix a counting bug (spotted by HeisSpiter a.k.a. pschweitzer :) )
svn path=/trunk/; revision=57788
This commit is contained in:
parent
35dedc452d
commit
483d67dec7
1 changed files with 1 additions and 1 deletions
|
@ -1705,7 +1705,7 @@ INIT_FUNCTION
|
|||
KdbpGetCommandLineSettings(
|
||||
PCHAR p1)
|
||||
{
|
||||
#define CONST_STR_LEN(x) (sizeof(x)/sizeof(x[0]))
|
||||
#define CONST_STR_LEN(x) (sizeof(x)/sizeof(x[0]) - 1)
|
||||
|
||||
while (p1 && (p1 = strchr(p1, ' ')))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue