Fix SHAMap node collision detection.

This commit is contained in:
Stefan Thomas
2013-11-08 15:00:35 -08:00
parent e779f98fb8
commit 8dfdced942

View File

@@ -57,7 +57,7 @@ function SHAMapTreeNodeInner() {
util.inherits(SHAMapTreeNodeInner, SHAMapTreeNode);
SHAMapTreeNodeInner.prototype.add_item = function (tag_segment, node) {
var current_node = this.get_node(tag_segment);
var current_node = this.get_node(tag_segment[0]);
if (current_node) {
// A node already exists in this slot