From 7f7fa12e059e18f3cdd98b8b2a07f42c37d666cc Mon Sep 17 00:00:00 2001 From: sf-exg Date: Thu, 1 Apr 2010 08:55:09 +0000 Subject: [PATCH] Use find_font_idx in rxvt_font_default::draw. --- src/rxvtfont.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rxvtfont.C b/src/rxvtfont.C index 457d9d43..36699494 100644 --- a/src/rxvtfont.C +++ b/src/rxvtfont.C @@ -450,7 +450,7 @@ rxvt_font_default::draw (rxvt_drawable &d, int x, int y, chrs [1] = NOCHAR; *chrs = cc->c1; - rxvt_font *f1 = (*fs)[fs->find_font (cc->c1)]; + rxvt_font *f1 = (*fs)[fs->find_font_idx (cc->c1)]; f1->draw (d, x, y, chrs, width, fg, bg); if (cc->c2 != NOCHAR) @@ -461,7 +461,7 @@ rxvt_font_default::draw (rxvt_drawable &d, int x, int y, *chrs = cc->c2; rxvt_font *f2 = (f1->has_char (cc->c2, 0, careful) && !careful) ? f1 - : (*fs)[fs->find_font (cc->c2)]; + : (*fs)[fs->find_font_idx (cc->c2)]; f2->draw (d, x, y, chrs, width, fg, Color_none); } -- 2.34.1