Skip to content

Commit b951b9d

Browse files
committed
parenttl.h: fix array size
1 parent 7a70b5e commit b951b9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parenttl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ bool isParentCmdLine()
4848
}
4949
if (pe32.th32ProcessID == procID)
5050
{
51-
for(int i = 0; i <= procsCnt; i++)
51+
for(int i = 0; i < procsCnt; i++)
5252
{
5353
if(procs[i] == pe32.th32ParentProcessID)
5454
{

0 commit comments

Comments
 (0)