diff options
| author | Clayton Hughes | 2012-03-09 00:26:31 -0800 |
|---|---|---|
| committer | Clayton Hughes | 2012-03-09 00:56:09 -0800 |
| commit | 3d1ce32785450e24ade43ed6b72aaab4c92b1788 (patch) | |
| tree | d9024f92fe27e3c426df0b1ced9aa4b99b7a5033 /library/Hooks-windows.cpp | |
| parent | 98a226ab636dad8e191cfbb85d2b6bb22254d026 (diff) | |
| download | dfhack-3d1ce32785450e24ade43ed6b72aaab4c92b1788.tar.gz dfhack-3d1ce32785450e24ade43ed6b72aaab4c92b1788.tar.bz2 dfhack-3d1ce32785450e24ade43ed6b72aaab4c92b1788.tar.xz | |
Windows now detects hotkeys using the correct keyboard layout.
Diffstat (limited to 'library/Hooks-windows.cpp')
| -rw-r--r-- | library/Hooks-windows.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/Hooks-windows.cpp b/library/Hooks-windows.cpp index c4e0f0a3..16118464 100644 --- a/library/Hooks-windows.cpp +++ b/library/Hooks-windows.cpp @@ -800,6 +800,8 @@ bool FirstCall() _SDL_SemWait = (int (*)(void *))GetProcAddress(realSDLlib,"SDL_SemWait"); _SDL_ThreadID = (uint32_t (*)(void))GetProcAddress(realSDLlib,"SDL_ThreadID"); + _SDL_EnableUNICODE(1); + fprintf(stderr,"Initized HOOKS!\n"); inited = true; return 1; |
