|
@@ -1,5 +1,5 @@
|
|
/*
|
|
/*
|
|
-** $Id: ldump.c,v 2.8 2006/02/17 15:51:03 roberto Exp roberto $
|
|
|
|
|
|
+** $Id: ldump.c,v 2.9 2006/09/11 14:07:24 roberto Exp roberto $
|
|
** save precompiled Lua chunks
|
|
** save precompiled Lua chunks
|
|
** See Copyright Notice in lua.h
|
|
** See Copyright Notice in lua.h
|
|
*/
|
|
*/
|
|
@@ -60,7 +60,7 @@ static void DumpVector(const void* b, int n, size_t size, DumpState* D)
|
|
|
|
|
|
static void DumpString(const TString* s, DumpState* D)
|
|
static void DumpString(const TString* s, DumpState* D)
|
|
{
|
|
{
|
|
- if (s==NULL || getstr(s)==NULL)
|
|
|
|
|
|
+ if (s==NULL)
|
|
{
|
|
{
|
|
size_t size=0;
|
|
size_t size=0;
|
|
DumpVar(size,D);
|
|
DumpVar(size,D);
|