Skip to content

Commit

Permalink
[DMenu] Fix row initial tab if non-first column is shown first.
Browse files Browse the repository at this point in the history
Issue: #1834
  • Loading branch information
DaveDavenport committed Apr 12, 2023
1 parent 0133697 commit 71570a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/modes/dmenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ static gchar *dmenu_format_output_string(const DmenuModePrivateData *pd,
unsigned int index =
(unsigned int)g_ascii_strtoull(pd->columns[i], NULL, 10);
if (index <= ns && index > 0) {
if (index == 1) {
if (i == 0) {
g_string_append(str_retv, splitted[index - 1]);
} else {
g_string_append_c(str_retv, '\t');
Expand Down

0 comments on commit 71570a9

Please sign in to comment.