packages: patches: Add missing patch
parent
f9933fb9e4
commit
71ca3c84a3
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue