[DMenu] Fix row initial tab if non-first column is shown first.

Issue: #1834
This commit is contained in:
Dave Davenport 2023-04-12 20:24:09 +02:00
parent 0133697fd2
commit 71570a92db
1 changed files with 1 additions and 1 deletions

View File

@ -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');