Do not double free expanded path in source-file, also remove some

unnecessary assignments.
This commit is contained in:
nicm
2021-08-22 13:48:29 +00:00
parent c0048d6d20
commit 72d905f32c
4 changed files with 4 additions and 6 deletions

View File

@ -121,8 +121,6 @@ cmd_display_menu_get_position(struct client *tc, struct cmdq_item *item,
if (sr != NULL)
break;
}
if (line == lines)
ranges = &tc->status.entries[0].ranges;
if (sr != NULL) {
format_add(ft, "popup_window_status_line_x", "%u",