Skip to content

Commit

Permalink
fixed #229
Browse files Browse the repository at this point in the history
  • Loading branch information
metux authored and slavaz committed May 15, 2009
1 parent 212ab41 commit ae33ec6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
2009-02-02 Enrico Weigelt, metux ITS <[email protected]>

* vfs/extfs/iso9660.in: added iso9660 fix by cppgx (#86)
* src/color.c: added fix for transparent terminals by Robert (#229)

2009-02-01 Enrico Weigelt, metux ITS <[email protected]>

Expand Down
3 changes: 2 additions & 1 deletion src/color.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ void init_colors (void)

if (use_colors){
start_color ();
use_default_colors ();
configure_colors ();

#ifndef HAVE_SLANG
Expand Down Expand Up @@ -418,7 +419,7 @@ try_alloc_color_pair (const char *fg, const char *bg)
void
mc_init_pair (int index, CTYPE foreground, CTYPE background)
{
init_pair (index, foreground, background);
init_pair (index, foreground, (background==0?-1:background));
if (index > max_index)
max_index = index;
}
Expand Down

0 comments on commit ae33ec6

Please sign in to comment.