From e5aa6e2b2075b66635f51b528d77417a3c25a698 Mon Sep 17 00:00:00 2001 From: Ilari Liusvaara Date: Sun, 20 May 2012 16:11:31 +0300 Subject: [PATCH] Fix lua_callback_do_unsafe_rewind in no-Lua case Dummy no-lua version of lua_callback_do_unsafe_rewind() had wrong arguments in definition, causing a link error. Noticed by ShinyDoofy. --- src/lua/dummy.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lua/dummy.cpp b/src/lua/dummy.cpp index 38bd91b4..ab85289c 100644 --- a/src/lua/dummy.cpp +++ b/src/lua/dummy.cpp @@ -27,7 +27,9 @@ void lua_callback_keyhook(const std::string& key, const struct keygroup::paramet void init_lua() throw() {} void quit_lua() throw() {} uint64_t lua_timed_hook(int timer) throw() { return 0x7EFFFFFFFFFFFFFFULL; } -void lua_callback_do_unsafe_rewind(const std::vector& save, movie& mov, void* u) {} +void lua_callback_do_unsafe_rewind(const std::vector& save, uint64_t secs, uint64_t ssecs, movie& mov, void* u) +{ +} bool lua_requests_repaint = false;