From 71ca3c84a374bdfc6dd4ac29dda90e7235fbc4d4 Mon Sep 17 00:00:00 2001 From: Luis Guilherme Coelho Date: Thu, 10 Oct 2024 12:45:26 -0300 Subject: [PATCH] packages: patches: Add missing patch --- radix/packages/patches/fuzzel-lowercase.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 radix/packages/patches/fuzzel-lowercase.patch diff --git a/radix/packages/patches/fuzzel-lowercase.patch b/radix/packages/patches/fuzzel-lowercase.patch new file mode 100644 index 0000000..c090d47 --- /dev/null +++ b/radix/packages/patches/fuzzel-lowercase.patch @@ -0,0 +1,22 @@ +diff --git a/render.c b/render.c +index 29c94d0..1c8f047 100644 +--- a/render.c ++++ b/render.c +@@ -1043,7 +1043,7 @@ render_one_match_entry(const struct render *render, const struct matches *matche + char32_t *newline = c32chr(match->application->title, U'\n'); + + if (newline != NULL) { +- char32_t *render_title = c32dup(match->application->title); ++ char32_t *render_title = c32dup(match->application->title_lowercase); + + newline = render_title + (newline - match->application->title); + *newline = U' '; +@@ -1054,7 +1054,7 @@ render_one_match_entry(const struct render *render, const struct matches *matche + match->application->render_title = render_title; + } else { + /* No newlines, use title as-is */ +- match->application->render_title = match->application->title; ++ match->application->render_title = match->application->title_lowercase; + } + } +