From: Matthias Braun Date: Wed, 29 Jun 2005 01:01:11 +0000 (+0000) Subject: Fix for last commit X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=15b35312d225ecd56da7b395ce61a9e5be9782eb;p=supertux.git Fix for last commit SVN-Revision: 2652 --- diff --git a/tools/miniswig/create_wrapper.cpp b/tools/miniswig/create_wrapper.cpp index 7adce5d7c..1e78d520e 100644 --- a/tools/miniswig/create_wrapper.cpp +++ b/tools/miniswig/create_wrapper.cpp @@ -193,7 +193,7 @@ WrapperCreator::create_function_wrapper(Class* _class, Function* function) // push return value back on stack and return if(function->return_type.is_void()) { if(function->docu_comment.find("@SUSPEND@") != std::string::npos) { - out << ind << "sq_suspendvm(v);\n"; + out << ind << "return sq_suspendvm(v);\n"; } else { out << ind << "return 0;\n"; }