Actually pass the buffer to write_string for class names

This commit is contained in:
Robin Wellner 2016-02-15 14:44:18 +01:00
parent 80c130ea8d
commit 90acb62c42

View File

@ -127,7 +127,7 @@ local function write_table(value, buffer, seen)
if class then if class then
classkey = classkey_registry[class] classkey = classkey_registry[class]
Buffer_write_byte(buffer, 242) Buffer_write_byte(buffer, 242)
write_string(class) write_string(class, buffer)
else else
Buffer_write_byte(buffer, 240) Buffer_write_byte(buffer, 240)
end end