Introduction
Introduction Statistics Contact Development Disclaimer Help
dwm-unicode_ellipsis-20222909-d3f93c7.diff - sites - public wiki contents of su…
git clone git://git.suckless.org/sites
Log
Files
Refs
---
dwm-unicode_ellipsis-20222909-d3f93c7.diff (744B)
---
1 diff --git a/drw.c b/drw.c
2 index ced7d37..95da860 100644
3 --- a/drw.c
4 +++ b/drw.c
5 @@ -285,7 +285,7 @@ drw_text(Drw *drw, int x, int y, unsigned int w, uns…
6
7 usedfont = drw->fonts;
8 if (!ellipsis_width && render)
9 - ellipsis_width = drw_fontset_getwidth(drw, "...");
10 + ellipsis_width = drw_fontset_getwidth(drw, "…");
11 while (1) {
12 ew = ellipsis_len = utf8strlen = 0;
13 utf8str = text;
14 @@ -339,7 +339,7 @@ drw_text(Drw *drw, int x, int y, unsigned int w, uns…
15 w -= ew;
16 }
17 if (render && overflow)
18 - drw_text(drw, ellipsis_x, y, ellipsis_w, h, 0, …
19 + drw_text(drw, ellipsis_x, y, ellipsis_w, h, 0, …
20
21 if (!*text || overflow) {
22 break;
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.