From 90acb62c42e11d36d8325f56bce0ee1a3c2e6e7e Mon Sep 17 00:00:00 2001 From: Robin Wellner Date: Mon, 15 Feb 2016 14:44:18 +0100 Subject: [PATCH] Actually pass the buffer to write_string for class names --- bitser.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitser.lua b/bitser.lua index 8f3f525..89d94a2 100644 --- a/bitser.lua +++ b/bitser.lua @@ -127,7 +127,7 @@ local function write_table(value, buffer, seen) if class then classkey = classkey_registry[class] Buffer_write_byte(buffer, 242) - write_string(class) + write_string(class, buffer) else Buffer_write_byte(buffer, 240) end