mirror of
git://git.sv.gnu.org/nano.git
synced 2025-01-21 16:52:08 +03:00
tweaks: remove unneeded variables after the previous change
This commit is contained in:
parent
c79b52da1d
commit
34528db096
@ -109,15 +109,10 @@ void set_interface_colorpairs(void)
|
||||
void prepare_palette(void)
|
||||
{
|
||||
const colortype *ink;
|
||||
short foreground, background;
|
||||
|
||||
/* For each coloring expression, initialize the color pair. */
|
||||
for (ink = openfile->syntax->color; ink != NULL; ink = ink->next) {
|
||||
foreground = ink->fg;
|
||||
background = ink->bg;
|
||||
|
||||
init_pair(ink->pairnum, foreground, background);
|
||||
}
|
||||
for (ink = openfile->syntax->color; ink != NULL; ink = ink->next)
|
||||
init_pair(ink->pairnum, ink->fg, ink->bg);
|
||||
|
||||
have_palette = TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user