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
classkey = classkey_registry[class]
Buffer_write_byte(buffer, 242)
write_string(class)
write_string(class, buffer)
else
Buffer_write_byte(buffer, 240)
end