[vlc-commits] lua: fix vlc.msg.dbg with multiple parameters
Rémi Duraffort
git at videolan.org
Wed Jul 13 11:10:54 CEST 2011
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Jul 12 15:45:43 2011 +0200| [00d43bb27c4c6e3b4dbcd8aa43b3af58536b3c5b] | committer: Rémi Duraffort
lua: fix vlc.msg.dbg with multiple parameters
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=00d43bb27c4c6e3b4dbcd8aa43b3af58536b3c5b
---
modules/lua/libs/messages.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/lua/libs/messages.c b/modules/lua/libs/messages.c
index 7f42a86..9c40e53 100644
--- a/modules/lua/libs/messages.c
+++ b/modules/lua/libs/messages.c
@@ -54,7 +54,7 @@ static int vlclua_msg_dbg( lua_State *L )
vlc_object_t *p_this = vlclua_get_this( L );
int i;
for( i = 1; i <= i_top; i++ )
- msg_Dbg( p_this, "%s", luaL_checkstring( L, 1 ) );
+ msg_Dbg( p_this, "%s", luaL_checkstring( L, i ) );
return 0;
}
More information about the vlc-commits
mailing list