summaryrefslogtreecommitdiff
path: root/library/Hooks-linux.cpp
diff options
context:
space:
mode:
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;