History

Lua 5.2.0-beta-rc2

Lua Team committed 15 years ago

Commit 0f2fa0f1 parent 30837cc24 files · +364 −432Browse files

Showing the changes to src/lua.c (1 of 24 files). Show all

Unified · Split

src/lua.c+2−2
@@ -1,5 +1,5 @@
11 /*
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 $
33 ** Lua stand-alone interpreter
44 ** See Copyright Notice in lua.h
55 */
@@ -183,7 +183,7 @@ static int docall (lua_State *L, int narg, int nres) { · 177 unmodified lines
183183
184184
185185 static void print_version (void) {
186− luai_writestring(LUA_COPYRIGHT, sizeof(LUA_COPYRIGHT));
186+ luai_writestring(LUA_COPYRIGHT, strlen(LUA_COPYRIGHT));
187187 luai_writeline();
188188 }
189189

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t