diff options
Diffstat (limited to 'ColorsPanel.c')
-rw-r--r-- | ColorsPanel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ColorsPanel.c b/ColorsPanel.c index 6072aedc..96199c1b 100644 --- a/ColorsPanel.c +++ b/ColorsPanel.c @@ -106,7 +106,7 @@ ColorsPanel* ColorsPanel_new(Settings* settings, ScreenManager* scr) { Panel_setHeader(super, "Colors"); for (int i = 0; ColorSchemeNames[i] != NULL; i++) { - Panel_add(super, (Object*) CheckItem_newByVal(strdup(ColorSchemeNames[i]), false)); + Panel_add(super, (Object*) CheckItem_newByVal(xStrdup(ColorSchemeNames[i]), false)); } CheckItem_set((CheckItem*)Panel_get(super, settings->colorScheme), true); return this; |