diff options
Diffstat (limited to 'AffinityPanel.c')
-rw-r--r-- | AffinityPanel.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/AffinityPanel.c b/AffinityPanel.c index 1cae4ee4..79fe7f36 100644 --- a/AffinityPanel.c +++ b/AffinityPanel.c @@ -274,9 +274,10 @@ static MaskItem *AffinityPanel_addObject(AffinityPanel* this, hwloc_obj_t obj, u } xSnprintf(&indent_buf[off], left, "%s", obj->next_sibling ? CRT_treeStr[TREE_STR_RTEE] : CRT_treeStr[TREE_STR_BEND]); - size_t len = strlen(&indent_buf[off]); - off += len; - left -= len; + // Uncomment when further appending to indent_buf + //size_t len = strlen(&indent_buf[off]); + //off += len; + //left -= len; } xSnprintf(buf, 64, "%s %s%u", type_name, index_prefix, index); |