aboutsummaryrefslogtreecommitdiff
path: root/lobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'lobject.c')
-rw-r--r--lobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lobject.c b/lobject.c
index 83aa8d5b..2ba80491 100644
--- a/lobject.c
+++ b/lobject.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.c,v 2.11 2005/03/09 16:28:07 roberto Exp roberto $ 2** $Id: lobject.c,v 2.12 2005/03/28 12:53:40 roberto Exp roberto $
3** Some generic functions over Lua objects 3** Some generic functions over Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -184,7 +184,7 @@ void luaO_chunkid (char *out, const char *source, int bufflen) {
184 if (*source == '@') { 184 if (*source == '@') {
185 int l; 185 int l;
186 source++; /* skip the `@' */ 186 source++; /* skip the `@' */
187 bufflen -= sizeof(" `...' "); 187 bufflen -= sizeof(" '...' ");
188 l = strlen(source); 188 l = strlen(source);
189 strcpy(out, ""); 189 strcpy(out, "");
190 if (l>bufflen) { 190 if (l>bufflen) {