diff options
Diffstat (limited to 'AffinityPanel.c')
-rw-r--r-- | AffinityPanel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AffinityPanel.c b/AffinityPanel.c index 8612855c..b400cadb 100644 --- a/AffinityPanel.c +++ b/AffinityPanel.c @@ -58,7 +58,7 @@ Panel* AffinityPanel_new(ProcessList* pl, Affinity* affinity) { } else { mode = false; } - Panel_add(this, (Object*) CheckItem_new(strdup(number), NULL, mode)); + Panel_add(this, (Object*) CheckItem_newByVal(strdup(number), mode)); } return this; } |