diff options
author | Eugene Sandulenko | 2010-08-13 15:24:13 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-10-12 22:38:49 +0000 |
commit | d50dcb80ad44465745a38ea42bd87db9480db949 (patch) | |
tree | 469aab65bdaaf43323b9cd68c004212e1fb4d3eb /engines/sword25/util | |
parent | ad5b74c9de1eb3d6eda91e1bf21b24c87a78391e (diff) | |
download | scummvm-rg350-d50dcb80ad44465745a38ea42bd87db9480db949.tar.gz scummvm-rg350-d50dcb80ad44465745a38ea42bd87db9480db949.tar.bz2 scummvm-rg350-d50dcb80ad44465745a38ea42bd87db9480db949.zip |
SWORD25: Linking fixes.
svn-id: r53226
Diffstat (limited to 'engines/sword25/util')
-rw-r--r-- | engines/sword25/util/lua/lbaselib.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/engines/sword25/util/lua/lbaselib.c b/engines/sword25/util/lua/lbaselib.c index 20d7f62845..8b461d998b 100644 --- a/engines/sword25/util/lua/lbaselib.c +++ b/engines/sword25/util/lua/lbaselib.c @@ -31,12 +31,10 @@ // BS25 // Aufruf der BS25 Log-Funktion // ----------------------------------------------------------------------------- -void BS_Log_C(const char* Message); static int luaB_print (lua_State *L) { int n = lua_gettop(L); /* number of arguments */ int i; lua_getglobal(L, "tostring"); - BS_Log_C("LUA: "); for (i=1; i<=n; i++) { const char *s; lua_pushvalue(L, -1); /* function to be called */ @@ -46,11 +44,8 @@ static int luaB_print (lua_State *L) { if (s == NULL) return luaL_error(L, LUA_QL("tostring") " must return a string to " LUA_QL("print")); - if (i>1) BS_Log_C("\t"); - BS_Log_C(s); lua_pop(L, 1); /* pop result */ } - BS_Log_C("\n"); return 0; } |