Fixed strange incomplete code while replace colour attribute in hash

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2011-01-11 16:11:56 +02:00
parent 3def2733dd
commit df0ae6ad0c

View File

@ -75,6 +75,7 @@ mc_tty_color_save_attr (int color_pair, int color_attr)
return;
}
*key = color_pair;
*attr = color_attr;
g_hash_table_replace (mc_tty_color_color_pair_attrs, (gpointer) key, (gpointer) attr);