Introduction
Introduction Statistics Contact Development Disclaimer Help
die if no font could be loaded - sent - simple plaintext presentation tool
git clone git://git.suckless.org/sent
Log
Files
Refs
README
LICENSE
---
commit cc57a28eba7c2ec574d92817bff012b3b051dd6b
parent c3cd2edca606b463e775a10ed2498f38cd86555f
Author: Markus Teich <[email protected]>
Date: Wed, 18 Nov 2015 00:41:38 +0100
die if no font could be loaded
Diffstat:
M sent.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/sent.c b/sent.c
@@ -616,7 +616,8 @@ void xloadfonts()
if (MAXFONTSTRLEN < snprintf(fstrs[j], MAXFONTSTRLEN, …
die("font string too long");
}
- fonts[i] = drw_fontset_create(d, (const char**)fstrs, LEN(fstr…
+ if (!(fonts[i] = drw_fontset_create(d, (const char**)fstrs, LE…
+ die("unable to load any font for size %d", FONTSZ(i));
}
for (j = 0; j < LEN(fontfallbacks); j++)
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.