… | |
… | |
1265 | } |
1265 | } |
1266 | |
1266 | |
1267 | FT_Face face = XftLockFace (f); |
1267 | FT_Face face = XftLockFace (f); |
1268 | |
1268 | |
1269 | // fuck me plenty: XftLockFace can actually return 0. try not to crash. |
1269 | // fuck me plenty: XftLockFace can actually return 0. try not to crash. |
1270 | // we also assume blindly that if the first lock succeeeds, then subsequent |
1270 | // we also assume blindly that if the first lock succeeds, then subsequent |
1271 | // locks will also succeed. |
1271 | // locks will also succeed. |
1272 | if (!face) |
1272 | if (!face) |
1273 | { |
1273 | { |
1274 | XftFontClose (disp, f); |
1274 | XftFontClose (disp, f); |
1275 | success = false; |
1275 | success = false; |