diff options
author | Dave Davenport <qball@gmpclient.org> | 2023-04-12 20:24:09 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2023-04-12 20:24:09 +0200 |
commit | 71570a92db28ac011ba5dd0b985dad4c92862305 (patch) | |
tree | eac47b7e7fe2e48156f8149eb94485444b6e57ed | |
parent | 0133697fd2c3c5ca77c7a32f0b30ae750949a027 (diff) |
[DMenu] Fix row initial tab if non-first column is shown first.
Issue: #1834
-rw-r--r-- | source/modes/dmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/modes/dmenu.c b/source/modes/dmenu.c index 85dda8e5..27b6097d 100644 --- a/source/modes/dmenu.c +++ b/source/modes/dmenu.c @@ -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'); |