tools/build_gtk_tree.js
[app.Builder.js] / tools / build_gtk_tree.js
index 4d2edd0..6843384 100644 (file)
@@ -342,7 +342,10 @@ right:
                for(var dupe in usage) {
                        if (usage[par].join(',') == usage[dupe].join(',') &&
                                typeof(nusage[par]) != 'undefined') {
-                               usage_left[par] = dupe;
+                               duped = true;
+                               if (usage_left[dupe] == 'undefined') {
+                                       usage_left[dupe] = []; 
+                               }
                                usage_left[dupe].pushUnique(par);
                                break;
                        }