changeset 98490:468c55dd37a2

* image.c (x_clear_image_1): Under NS, call ns_free_indexed_color with correct arguments.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Fri, 03 Oct 2008 18:23:43 +0000
parents 0caa21a4a7aa
children 29005e3eddab
files src/ChangeLog src/image.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Oct 03 14:12:31 2008 +0000
+++ b/src/ChangeLog	Fri Oct 03 18:23:43 2008 +0000
@@ -1,3 +1,8 @@
+2008-10-02  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+	* image.c (x_clear_image_1): Under NS, call ns_free_indexed_color with
+	correct arguments.
+
 2008-10-03  Glenn Morris  <rgm@gnu.org>
 
 	* emacs.c (USAGE1): Add --daemon.
--- a/src/image.c	Fri Oct 03 14:12:31 2008 +0000
+++ b/src/image.c	Fri Oct 03 18:23:43 2008 +0000
@@ -1624,7 +1624,7 @@
       img->pixmap = NO_PIXMAP;
 #ifdef HAVE_NS
       if (img->background_valid)
-        ns_free_indexed_color(img->background);
+        ns_free_indexed_color(img->background, f);
 #endif
       img->background_valid = 0;
     }