diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-04-20 11:41:52 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-04-20 11:41:52 +0200 |
commit | b9fa5b286262c58f4b844c8275524701d446c30a (patch) | |
tree | c5aa7b1d49e4cc25d7b24ff21f73be89ab012904 /crawl-ref/source/cluautil.h | |
parent | 42ba8f512f64a97eed91c93a08ae94cd4846594a (diff) | |
download | crawl-ref-b9fa5b286262c58f4b844c8275524701d446c30a.tar.gz crawl-ref-b9fa5b286262c58f4b844c8275524701d446c30a.zip |
Fix an evil macro masquerading like a function call but not behaving like one.
Diffstat (limited to 'crawl-ref/source/cluautil.h')
-rw-r--r-- | crawl-ref/source/cluautil.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/cluautil.h b/crawl-ref/source/cluautil.h index 0ad4ad6b03..ef725b4f68 100644 --- a/crawl-ref/source/cluautil.h +++ b/crawl-ref/source/cluautil.h @@ -24,8 +24,10 @@ extern "C" { return (0); \ } #define PLUARET(type, val) \ + { \ lua_push##type(ls, val); \ - return (1); + return (1); \ + } #define LUARET1(name, type, val) \ static int name(lua_State *ls) \ { \ |