[vlc-commits] commit: Revert "Use pushliteral instead of pushstring where possible. Saves a strlen call." (Antoine Cellerier )

git version control git at videolan.org
Tue Mar 2 12:24:53 CET 2010


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Tue Mar  2 12:24:41 2010 +0100| [31b16162b274c560a616041a4f3d30993d6fb293] | committer: Antoine Cellerier 

Revert "Use pushliteral instead of pushstring where possible. Saves a strlen call."

This reverts commit d69b5e609845a113328dc724e241d5e900091c9f.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=31b16162b274c560a616041a4f3d30993d6fb293
---

 modules/misc/lua/libs/misc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/misc/lua/libs/misc.c b/modules/misc/lua/libs/misc.c
index ca1e69c..10d1424 100644
--- a/modules/misc/lua/libs/misc.c
+++ b/modules/misc/lua/libs/misc.c
@@ -99,7 +99,7 @@ static int vlclua_copyright( lua_State *L )
  *****************************************************************************/
 static int vlclua_license( lua_State *L )
 {
-    lua_pushliteral( L, LICENSE_MSG );
+    lua_pushstring( L, LICENSE_MSG );
     return 1;
 }
 



More information about the vlc-commits mailing list