Accepting request 43747 from home:walery
Copy from home:walery/mc via accept of submit request 43747 revision 57. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/43747 OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=12
This commit is contained in:
committed by
Git OBS Bridge
parent
bdfdad3702
commit
c83437be47
@@ -1,31 +0,0 @@
|
||||
Index: lib/tty/color.c
|
||||
===================================================================
|
||||
--- lib/tty/color.c.orig 2010-07-05 21:12:51.000000000 +0200
|
||||
+++ lib/tty/color.c 2010-07-09 12:15:45.223012470 +0200
|
||||
@@ -85,7 +85,7 @@ tty_color_free_condition_cb (gpointer ke
|
||||
tty_color_pair_t *mc_color_pair;
|
||||
(void) key;
|
||||
|
||||
- is_temp_color = (gboolean) user_data;
|
||||
+ is_temp_color = (gboolean) GINT_TO_POINTER(user_data);
|
||||
mc_color_pair = (tty_color_pair_t *) value;
|
||||
return (mc_color_pair->is_temp == is_temp_color);
|
||||
}
|
||||
@@ -96,7 +96,7 @@ static void
|
||||
tty_color_free_all (gboolean is_temp_color)
|
||||
{
|
||||
g_hash_table_foreach_remove (mc_tty_color__hashtable, tty_color_free_condition_cb,
|
||||
- (gpointer) is_temp_color);
|
||||
+ GINT_TO_POINTER(is_temp_color));
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
@@ -108,7 +108,7 @@ tty_color_get_next_cpn_cb (gpointer key,
|
||||
tty_color_pair_t *mc_color_pair;
|
||||
(void) key;
|
||||
|
||||
- cp = (int) user_data;
|
||||
+ cp = GPOINTER_TO_INT(user_data);
|
||||
mc_color_pair = (tty_color_pair_t *) value;
|
||||
|
||||
if (cp == mc_color_pair->pair_index)
|
Reference in New Issue
Block a user