… | |
… | |
2085 | ccol2 = bgcolor_of (rstyle); |
2085 | ccol2 = bgcolor_of (rstyle); |
2086 | #else |
2086 | #else |
2087 | ccol2 = Color_bg; |
2087 | ccol2 = Color_bg; |
2088 | #endif |
2088 | #endif |
2089 | |
2089 | |
2090 | if (showcursor && focus) |
2090 | if (focus) |
2091 | { |
2091 | { |
2092 | if (option (Opt_cursorUnderline)) |
2092 | if (option (Opt_cursorUnderline)) |
2093 | *crp ^= RS_Uline; |
2093 | *crp ^= RS_Uline; |
2094 | else |
2094 | else |
2095 | { |
2095 | { |
… | |
… | |
2377 | } |
2377 | } |
2378 | |
2378 | |
2379 | /* |
2379 | /* |
2380 | * Actually do the drawing of the string here |
2380 | * Actually do the drawing of the string here |
2381 | */ |
2381 | */ |
2382 | rxvt_font *font = fontset [GET_STYLE (rend)]->get (*text, GET_FONT (rend)); |
2382 | rxvt_font *font = (*fontset[GET_STYLE (rend)])[GET_FONT (rend)]; |
2383 | |
2383 | |
2384 | if (expect_true (have_bg && back == Color_bg)) |
2384 | if (expect_true (have_bg && back == Color_bg)) |
2385 | { |
2385 | { |
2386 | // this is very ugly, maybe push it into ->draw? |
2386 | // this is very ugly, maybe push it into ->draw? |
2387 | |
2387 | |