]> git.sesse.net Git - vlc/commitdiff
Revert "Use pushliteral instead of pushstring where possible. Saves a strlen call."
authorAntoine Cellerier <dionoea@videolan.org>
Tue, 2 Mar 2010 11:24:41 +0000 (12:24 +0100)
committerAntoine Cellerier <dionoea@videolan.org>
Tue, 2 Mar 2010 11:24:41 +0000 (12:24 +0100)
This reverts commit d69b5e609845a113328dc724e241d5e900091c9f.

modules/misc/lua/libs/misc.c

index ca1e69ced821326b86b3e359e16b62a66cd5877d..10d1424a1a8f3889985726d68f4350af24bc94ea 100644 (file)
@@ -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;
 }