Skip to content

Commit 469171a

Browse files
committed
Renamed member.
1 parent 61a9b4b commit 469171a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Forms/ProcessBrowserForm.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ private void RefreshProcessList()
117117

118118
nativeHelper.EnumerateProcesses(delegate (ref NativeHelper.EnumerateProcessData data)
119119
{
120-
var moduleName = Path.GetFileName(data.ModulePath);
120+
var moduleName = Path.GetFileName(data.Path);
121121
if (!filterCheckBox.Checked || !CommonProcesses.Contains(moduleName.ToLower()))
122122
{
123123
var row = dt.NewRow();
124-
row["icon"] = ShellIcon.GetSmallIcon(data.ModulePath);
124+
row["icon"] = ShellIcon.GetSmallIcon(data.Path);
125125
row["name"] = moduleName;
126126
row["id"] = data.Id;
127-
row["path"] = data.ModulePath;
127+
row["path"] = data.Path;
128128
dt.Rows.Add(row);
129129
}
130130

Memory/NativeHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ public struct EnumerateProcessData
380380
public IntPtr Id;
381381

382382
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)]
383-
public string ModulePath;
383+
public string Path;
384384
};
385385

386386
public void EnumerateProcesses(EnumerateProcessCallback callbackProcess)

0 commit comments

Comments
 (0)