mirror of https://github.com/WerWolv/ImHex
fix: Wrong variable access
This commit is contained in:
parent
1db79f6117
commit
6a28ce9e4b
|
|
@ -282,7 +282,7 @@ namespace hex::plugin::builtin {
|
||||||
const auto result = proc_pidinfo(pids[i], PROC_PIDTBSDINFO, 0,
|
const auto result = proc_pidinfo(pids[i], PROC_PIDTBSDINFO, 0,
|
||||||
&proc, PROC_PIDTBSDINFO_SIZE);
|
&proc, PROC_PIDTBSDINFO_SIZE);
|
||||||
if (result == PROC_PIDTBSDINFO_SIZE) {
|
if (result == PROC_PIDTBSDINFO_SIZE) {
|
||||||
m_processes.emplace_back(pids[i], proc.pbi_name, proc->pbi_comm, ImGuiExt::Texture());
|
m_processes.emplace_back(pids[i], proc.pbi_name, proc.pbi_comm, ImGuiExt::Texture());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#elif defined(OS_LINUX)
|
#elif defined(OS_LINUX)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue