packages: patches: Add missing patch

main
Luis Guilherme Coelho 2024-10-10 12:45:26 -03:00
parent f9933fb9e4
commit 71ca3c84a3
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 22 additions and 0 deletions

View File

@ -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;
}
}