summaryrefslogtreecommitdiff
path: root/library/Hooks-linux.cpp
diff options
context:
space:
mode:
authorPetr Mrázek2012-06-14 02:25:15 +0200
committerPetr Mrázek2012-06-14 02:25:15 +0200
commit2781723f7bf2bef87b7c6c5252aebd6392cbefbf (patch)
treea01abfd5cf2d1307ed6a58f6f98a91fbb2a3fe59 /library/Hooks-linux.cpp
parent456c637d821ec2c6e73cebfeb87a9d93ab8b5ea8 (diff)
downloaddfhack-2781723f7bf2bef87b7c6c5252aebd6392cbefbf.tar.gz
dfhack-2781723f7bf2bef87b7c6c5252aebd6392cbefbf.tar.bz2
dfhack-2781723f7bf2bef87b7c6c5252aebd6392cbefbf.tar.xz
Linux build works again.
Diffstat (limited to 'library/Hooks-linux.cpp')
-rw-r--r--library/Hooks-linux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/Hooks-linux.cpp b/library/Hooks-linux.cpp
index 3628aab6..ef1a765c 100644
--- a/library/Hooks-linux.cpp
+++ b/library/Hooks-linux.cpp
@@ -79,7 +79,7 @@ DFhackCExport int SDL_PollEvent(SDL::Event* event)
{
DFHack::Core & c = DFHack::Core::getInstance();
// if we consume the event, ask SDL for more.
- if(!c.SDL_Event(event))
+ if(!c.DFH_SDL_Event(event))
goto pollevent_again;
}
return orig_return;