Diff

util/serialization.lua @ 1135:355f9487ab38

util/serialization: Fixed serialization formatting
author Waqas Hussain <waqas20@gmail.com>
date Fri, 08 May 2009 01:06:45 +0500
parent 1128:b2e548344d61
child 1523:841d61be198f
line wrap: on
line diff
--- a/util/serialization.lua	Fri May 08 01:05:53 2009 +0500
+++ b/util/serialization.lua	Fri May 08 01:06:45 2009 +0500
@@ -53,7 +53,7 @@
 		func(t, (o and "true" or "false"));
 	else
 		log("error", "cannot serialize a %s: %s", type(o), debug_traceback())
-		func(t, "nil,\n");
+		func(t, "nil");
 	end
 end