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