diff options
| author | 2018-06-04 21:05:27 -0400 | |
|---|---|---|
| committer | 2018-06-04 21:05:27 -0400 | |
| commit | 4a8bfd06e73d7f051f0b39e19e57616c7bbb8ad1 (patch) | |
| tree | 1a3981909d67b90e8042f9c615574af165f155b6 /src/lib/platform/MSWindowsHook.cpp | |
| parent | 9b1b081cfdb1c0fb6457278775e0823f8bc10f62 (diff) | |
New upstream version 2.1.1+dfsgupstream/2.1.1+dfsg
Diffstat (limited to 'src/lib/platform/MSWindowsHook.cpp')
| -rw-r--r-- | src/lib/platform/MSWindowsHook.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/platform/MSWindowsHook.cpp b/src/lib/platform/MSWindowsHook.cpp index 929888e..2d7845a 100644 --- a/src/lib/platform/MSWindowsHook.cpp +++ b/src/lib/platform/MSWindowsHook.cpp @@ -22,6 +22,7 @@ #include "platform/ImmuneKeysReader.h" #include "barrier/protocol_types.h" #include "barrier/XScreen.h" +#include "common/DataDirectories.h" #include "base/Log.h" // @@ -52,7 +53,7 @@ static BYTE g_keyState[256] = { 0 }; static bool g_fakeServerInput = false; static std::vector<DWORD> g_immuneKeys; -static const std::string ImmuneKeysPath = ArchFileWindows().getProfileDirectory() + "\\ImmuneKeys.txt"; +static const std::string ImmuneKeysPath = DataDirectories::profile() + "\\ImmuneKeys.txt"; static std::vector<DWORD> immune_keys_list() { |
