From: sf-exg Date: Thu, 1 Apr 2010 08:55:09 +0000 (+0000) Subject: Use find_font_idx in rxvt_font_default::draw. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=7f7fa12e059e18f3cdd98b8b2a07f42c37d666cc;p=dana%2Furxvt.git Use find_font_idx in rxvt_font_default::draw. --- 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); }