Showing the changes to src/lua.c (1 of 24 files). Show all
Unified · Split
| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | /* |
| 2 | −** $Id: lua.c,v 1.199 2011/05/26 16:09:40 roberto Exp $ | |
| 2 | +** $Id: lua.c,v 1.200 2011/06/16 14:30:58 roberto Exp $ | |
| 3 | 3 | ** Lua stand-alone interpreter |
| 4 | 4 | ** See Copyright Notice in lua.h |
| 5 | 5 | */ |
| @@ -183,7 +183,7 @@ static int docall (lua_State *L, int narg, int nres) { · 177 unmodified lines | ||
| 183 | 183 | |
| 184 | 184 | |
| 185 | 185 | static void print_version (void) { |
| 186 | − luai_writestring(LUA_COPYRIGHT, sizeof(LUA_COPYRIGHT)); | |
| 186 | + luai_writestring(LUA_COPYRIGHT, strlen(LUA_COPYRIGHT)); | |
| 187 | 187 | luai_writeline(); |
| 188 | 188 | } |
| 189 | 189 | |