diff --git a/source/widgets/listview.c b/source/widgets/listview.c index 05f6f273..09a8e542 100644 --- a/source/widgets/listview.c +++ b/source/widgets/listview.c @@ -168,14 +168,13 @@ static void listview_set_state(_listview_row r, TextBoxFontType tbft) { } static void listview_add_widget(listview *lv, _listview_row *row, widget *wid, const char *label) { - TextboxFlags flags = 0; if (strcasecmp(label, "element-icon") == 0) { row->icon = icon_create(WIDGET(wid), "element-icon"); box_add((box *)wid, WIDGET(row->icon), FALSE); } else if (strcasecmp(label, "element-text") == 0) { row->textbox = textbox_create(WIDGET(wid), WIDGET_TYPE_TEXTBOX_TEXT, "element-text", - TB_AUTOHEIGHT | flags, NORMAL, "DDD", 0, 0); + TB_AUTOHEIGHT , NORMAL, "DDD", 0, 0); textbox_set_ellipsize(row->textbox, lv->emode); box_add((box *)wid, WIDGET(row->textbox), TRUE); } else if (strcasecmp(label, "element-index") == 0) { diff --git a/source/xrmoptions.c b/source/xrmoptions.c index 319b899f..34d2fff5 100644 --- a/source/xrmoptions.c +++ b/source/xrmoptions.c @@ -357,7 +357,7 @@ static XrmOption xrmOptions[] = { {.str = &config.theme}, NULL, "New style theme file", - CONFIG_DEFAULT | CONFIG_NO_DISPLAY}, + CONFIG_NO_DISPLAY}, {xrm_Number, "max-history-size", {.num = &config.max_history_size},