aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
authorAdrian Robert2008-10-03 18:23:43 +0000
committerAdrian Robert2008-10-03 18:23:43 +0000
commit46b0ebed94ff5cf1ca4ff0e03b6a8e76452af1fb (patch)
tree8c1cc2ae3786311715d61f947c10c0d450c25917 /src/image.c
parent716c808a99e76e2b462b0f45309066b6a5aef437 (diff)
downloademacs-46b0ebed94ff5cf1ca4ff0e03b6a8e76452af1fb.tar.gz
emacs-46b0ebed94ff5cf1ca4ff0e03b6a8e76452af1fb.zip
* image.c (x_clear_image_1): Under NS, call ns_free_indexed_color with correct arguments.
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c
index 7ce5b9b2e08..b24feca3779 100644
--- a/src/image.c
+++ b/src/image.c
@@ -1624,7 +1624,7 @@ x_clear_image_1 (f, img, pixmap_p, mask_p, colors_p)
1624 img->pixmap = NO_PIXMAP; 1624 img->pixmap = NO_PIXMAP;
1625#ifdef HAVE_NS 1625#ifdef HAVE_NS
1626 if (img->background_valid) 1626 if (img->background_valid)
1627 ns_free_indexed_color(img->background); 1627 ns_free_indexed_color(img->background, f);
1628#endif 1628#endif
1629 img->background_valid = 0; 1629 img->background_valid = 0;
1630 } 1630 }