mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
Fix a counting bug (spotted by HeisSpiter a.k.a. pschweitzer :) )
svn path=/trunk/; revision=57788
This commit is contained in:
@@ -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, ' ')))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user