summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/x.c b/x.c
index bda2d81..83bed14 100644
--- a/x.c
+++ b/x.c
@@ -1288,13 +1288,13 @@ xmakeglyphfontspecs(XftGlyphFontSpec *specs, const Glyph *glyphs, int len, int x
1288 font = &dc.font; 1288 font = &dc.font;
1289 frcflags = FRC_NORMAL; 1289 frcflags = FRC_NORMAL;
1290 runewidth = win.cw * ((mode & ATTR_WIDE) ? 2.0f : 1.0f); 1290 runewidth = win.cw * ((mode & ATTR_WIDE) ? 2.0f : 1.0f);
1291 if ((mode & ATTR_ITALIC) && (mode & ATTR_BOLD)) { 1291 if ((mode & ATTR_ITALIC) && (mode & ATTR_BOLD || mode & ATTR_URL)) {
1292 font = &dc.ibfont; 1292 font = &dc.ibfont;
1293 frcflags = FRC_ITALICBOLD; 1293 frcflags = FRC_ITALICBOLD;
1294 } else if (mode & ATTR_ITALIC) { 1294 } else if (mode & ATTR_ITALIC) {
1295 font = &dc.ifont; 1295 font = &dc.ifont;
1296 frcflags = FRC_ITALIC; 1296 frcflags = FRC_ITALIC;
1297 } else if (mode & ATTR_BOLD) { 1297 } else if (mode & ATTR_BOLD || mode & ATTR_URL) {
1298 font = &dc.bfont; 1298 font = &dc.bfont;
1299 frcflags = FRC_BOLD; 1299 frcflags = FRC_BOLD;
1300 } 1300 }