commit f9b000c17599ea43360eafe358747b9458bfc761
parent 406c6d71ad54e45115fc046af7d6af1f98e38529
Author: Natasha Kerensikova <natacha@instinctive.eu>
Date: Sat, 20 May 2023 17:38:33 +0200
[patch] dwm-unicode_ellipsis-20222909-d3f93c7.diff
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drw.c b/drw.c
@@ -282,7 +282,7 @@ drw_text(Drw *drw, int x, int y, unsigned int w, unsigned int h, unsigned int lp
usedfont = drw->fonts;
if (!ellipsis_width && render)
- ellipsis_width = drw_fontset_getwidth(drw, "...");
+ ellipsis_width = drw_fontset_getwidth(drw, "…");
if (!invalid_width && render)
invalid_width = drw_fontset_getwidth(drw, invalid);
while (1) {
@@ -344,7 +344,7 @@ drw_text(Drw *drw, int x, int y, unsigned int w, unsigned int h, unsigned int lp
w -= invalid_width;
}
if (render && overflow)
- drw_text(drw, ellipsis_x, y, ellipsis_w, h, 0, "...", invert);
+ drw_text(drw, ellipsis_x, y, ellipsis_w, h, 0, "…", invert);
if (!*text || overflow) {
break;