From 516b7c18ba3006255c8b5ff6af06e8a4a400091f Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Mon, 9 Dec 2002 15:48:09 +0000 Subject: [PATCH] Fix a bug in one of my earlier changes. (From Naofumi Yasufuku, #100023) Mon Dec 9 10:44:59 2002 Owen Taylor * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_private): Fix a bug in one of my earlier changes. (From Naofumi Yasufuku, #100023) --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-2 | 6 ++++++ ChangeLog.pre-2-4 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ gdk/x11/gdkcolor-x11.c | 2 +- 7 files changed, 37 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 550150409c..a19925354d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Mon Dec 9 10:44:59 2002 Owen Taylor + + * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_private): + Fix a bug in one of my earlier changes. (From Naofumi Yasufuku, + #100023) + Sun Dec 8 21:43:31 2002 Owen Taylor * gdk/x11/gdkcolor-x11.c: Fix spacing in a bunch of diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 550150409c..a19925354d 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Mon Dec 9 10:44:59 2002 Owen Taylor + + * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_private): + Fix a bug in one of my earlier changes. (From Naofumi Yasufuku, + #100023) + Sun Dec 8 21:43:31 2002 Owen Taylor * gdk/x11/gdkcolor-x11.c: Fix spacing in a bunch of diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 550150409c..a19925354d 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +Mon Dec 9 10:44:59 2002 Owen Taylor + + * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_private): + Fix a bug in one of my earlier changes. (From Naofumi Yasufuku, + #100023) + Sun Dec 8 21:43:31 2002 Owen Taylor * gdk/x11/gdkcolor-x11.c: Fix spacing in a bunch of diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 550150409c..a19925354d 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Mon Dec 9 10:44:59 2002 Owen Taylor + + * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_private): + Fix a bug in one of my earlier changes. (From Naofumi Yasufuku, + #100023) + Sun Dec 8 21:43:31 2002 Owen Taylor * gdk/x11/gdkcolor-x11.c: Fix spacing in a bunch of diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 550150409c..a19925354d 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Mon Dec 9 10:44:59 2002 Owen Taylor + + * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_private): + Fix a bug in one of my earlier changes. (From Naofumi Yasufuku, + #100023) + Sun Dec 8 21:43:31 2002 Owen Taylor * gdk/x11/gdkcolor-x11.c: Fix spacing in a bunch of diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 550150409c..a19925354d 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Mon Dec 9 10:44:59 2002 Owen Taylor + + * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_private): + Fix a bug in one of my earlier changes. (From Naofumi Yasufuku, + #100023) + Sun Dec 8 21:43:31 2002 Owen Taylor * gdk/x11/gdkcolor-x11.c: Fix spacing in a bunch of diff --git a/gdk/x11/gdkcolor-x11.c b/gdk/x11/gdkcolor-x11.c index 279e99fea3..f5555789cb 100644 --- a/gdk/x11/gdkcolor-x11.c +++ b/gdk/x11/gdkcolor-x11.c @@ -876,7 +876,7 @@ gdk_colormap_alloc_colors_private (GdkColormap *colormap, success[i] = TRUE; colors[i].pixel = index; - colormap->colors[i] = colors[i]; + colormap->colors[index] = colors[i]; private->info[index].ref_count++; g_hash_table_insert (private->hash,