Skip to content

Commit

Permalink
parenttl.h: fix array size
Browse files Browse the repository at this point in the history
  • Loading branch information
yuk7 committed Apr 3, 2020
1 parent 7a70b5e commit b951b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parenttl.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ bool isParentCmdLine()
}
if (pe32.th32ProcessID == procID)
{
for(int i = 0; i <= procsCnt; i++)
for(int i = 0; i < procsCnt; i++)
{
if(procs[i] == pe32.th32ParentProcessID)
{
Expand Down

0 comments on commit b951b9d

Please sign in to comment.