summaryrefslogtreecommitdiff
path: root/crn/packages/patches
diff options
context:
space:
mode:
Diffstat (limited to 'crn/packages/patches')
-rw-r--r--crn/packages/patches/rofi-extra-whitespace.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/crn/packages/patches/rofi-extra-whitespace.patch b/crn/packages/patches/rofi-extra-whitespace.patch
new file mode 100644
index 0000000..1d065f7
--- /dev/null
+++ b/crn/packages/patches/rofi-extra-whitespace.patch
@@ -0,0 +1,13 @@
+diff --git a/source/modes/dmenu.c b/source/modes/dmenu.c
+index 27b6097d..85dda8e5 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 (i == 0) {
++ if (index == 1) {
+ g_string_append(str_retv, splitted[index - 1]);
+ } else {
+ g_string_append_c(str_retv, '\t');