From 56b0932509df5c320f5a35d8b545a05da0560302 Mon Sep 17 00:00:00 2001 From: Novatux Date: Tue, 4 Mar 2014 11:44:41 +0100 Subject: [PATCH] Fix typo --- block.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block.py b/block.py index 7359bfb..bbb4024 100644 --- a/block.py +++ b/block.py @@ -198,7 +198,7 @@ class MTBlock: #writeU16(cbuffer, content[k]) c = content[k] if c in nimap: - writeU16(cbuffer, nimap[k]) + writeU16(cbuffer, nimap[c]) else: nimap[c] = first_free_content writeU16(cbuffer, first_free_content)