From: Ali Gholami Rudi Date: Fri, 29 Jun 2012 03:21:45 +0000 (+0430) Subject: fbpad: switch to the first font for tag summary X-Git-Url: https://repo.or.cz/w/fbpad.git/commitdiff_plain/21fd2c1a15db8d3dba0c816bd1668a2819b4b26e fbpad: switch to the first font for tag summary --- diff --git a/fbpad.c b/fbpad.c index 6e4feea..8ae7633 100644 --- a/fbpad.c +++ b/fbpad.c @@ -118,6 +118,7 @@ static void showtags(void) int c = 0; int r = pad_rows() - 1; int i; + pad_font(0); pad_put('T', r, c++, FGCOLOR, BGCOLOR); pad_put('A', r, c++, FGCOLOR, BGCOLOR); pad_put('G', r, c++, FGCOLOR, BGCOLOR); @@ -137,6 +138,7 @@ static void showtags(void) pad_put(tags[i], r, c++, colors[nt], BGCOLOR); pad_put(i == ctag ? ')' : ' ', r, c++, FGCOLOR, BGCOLOR); } + pad_font(fonts[cterm()]); } static void directkey(void)