summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/lua
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-03-19 23:33:14 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-03-19 23:33:14 +0100
commit2801b8437c0ee1c529244c1b7f7a6603e029a5a5 (patch)
tree506e97763d6dadc664a3811b600a0f2890cc0b4b /src/plugins/scripts/lua
parentbc3fa9fd4cddd24d066b60f11c08d3c8e5ff1e61 (diff)
downloadweechat-2801b8437c0ee1c529244c1b7f7a6603e029a5a5.zip
Reformat multi-line comments
Diffstat (limited to 'src/plugins/scripts/lua')
-rw-r--r--src/plugins/scripts/lua/Makefile.am2
-rw-r--r--src/plugins/scripts/lua/weechat-lua.c26
2 files changed, 15 insertions, 13 deletions
diff --git a/src/plugins/scripts/lua/Makefile.am b/src/plugins/scripts/lua/Makefile.am
index f902d0bb3..8223bb55e 100644
--- a/src/plugins/scripts/lua/Makefile.am
+++ b/src/plugins/scripts/lua/Makefile.am
@@ -14,7 +14,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(LUA_CFLAGS)
+INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(LUA_CFLAGS)
libdir = ${weechat_libdir}/plugins
diff --git a/src/plugins/scripts/lua/weechat-lua.c b/src/plugins/scripts/lua/weechat-lua.c
index 12ac19a85..f8c6469cf 100644
--- a/src/plugins/scripts/lua/weechat-lua.c
+++ b/src/plugins/scripts/lua/weechat-lua.c
@@ -48,18 +48,20 @@ struct t_plugin_script *lua_current_script = NULL;
const char *lua_current_script_filename = NULL;
lua_State *lua_current_interpreter = NULL;
-/* string used to execute action "install":
- when signal "lua_install_script" is received, name of string
- is added to this string, to be installed later by a timer (when nothing is
- running in script)
-*/
+/*
+ * string used to execute action "install":
+ * when signal "lua_install_script" is received, name of string
+ * is added to this string, to be installed later by a timer (when nothing is
+ * running in script)
+ */
char *lua_action_install_list = NULL;
-/* string used to execute action "remove":
- when signal "lua_remove_script" is received, name of string
- is added to this string, to be removed later by a timer (when nothing is
- running in script)
-*/
+/*
+ * string used to execute action "remove":
+ * when signal "lua_remove_script" is received, name of string
+ * is added to this string, to be removed later by a timer (when nothing is
+ * running in script)
+ */
char *lua_action_remove_list = NULL;
@@ -157,7 +159,7 @@ weechat_lua_exec (struct t_plugin_script *script,
lua_current_script = old_lua_current_script;
- return ret_value;
+ return ret_value;
}
int
@@ -218,7 +220,7 @@ weechat_lua_load (const char *filename)
#ifdef LUA_VERSION_NUM
if (luaL_dostring (lua_current_interpreter, weechat_lua_code) != 0)
-#else
+#else
if (lua_dostring (lua_current_interpreter, weechat_lua_code) != 0)
#endif
{