mirror of
https://github.com/reactos/reactos.git
synced 2024-06-16 09:31:51 +00:00
Fix warning and regression
This commit is contained in:
parent
39b1046357
commit
7802513a5b
|
@ -1258,7 +1258,7 @@ public:
|
|||
else
|
||||
{
|
||||
WCHAR ExePath[MAX_PATH] = {0};
|
||||
GetProcessPath(dwProcessId, ExePath, _countof(ExePath));
|
||||
GetProcessPath(TaskGroup->dwProcessId, ExePath, _countof(ExePath));
|
||||
|
||||
if(!lstrcmpW(ExePath, ItemExePath))
|
||||
{
|
||||
|
@ -2297,9 +2297,9 @@ public:
|
|||
PTASK_GROUP TaskGroup = FindTaskGroupByIndex(TaskGroupOpened);
|
||||
|
||||
PTASK_ITEM TaskItem, LastTaskItem = NULL;
|
||||
LastTaskItem = TaskItem + m_TaskItemCount;
|
||||
|
||||
TaskItem = m_TaskItems;
|
||||
LastTaskItem = TaskItem + m_TaskItemCount;
|
||||
|
||||
while (TaskItem != LastTaskItem)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue