From 6d36f1d959e06ca1db43b5f6158e73ebf0ec5459 Mon Sep 17 00:00:00 2001 From: LostDragonist Date: Sat, 19 Jan 2019 15:15:31 -0600 Subject: Fix forced libraries when using shortcuts --- src/organizercore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/organizercore.cpp b/src/organizercore.cpp index e72b9a50..90e702ef 100644 --- a/src/organizercore.cpp +++ b/src/organizercore.cpp @@ -1427,7 +1427,7 @@ HANDLE OrganizerCore::runShortcut(const MOShortcut& shortcut) Executable& exe = m_ExecutablesList.find(shortcut.executable()); auto forcedLibaries = m_CurrentProfile->determineForcedLibraries(shortcut.executable()); - if (!m_CurrentProfile->forcedLibrariesEnabled(exe.m_BinaryInfo.fileName())) { + if (!m_CurrentProfile->forcedLibrariesEnabled(shortcut.executable())) { forcedLibaries.clear(); } -- cgit v1.3.1