diff options
| author | Adrian Robert | 2008-11-25 02:45:39 +0000 |
|---|---|---|
| committer | Adrian Robert | 2008-11-25 02:45:39 +0000 |
| commit | 5a06864fb69973eb2be01e230a98d6c24ff2138c (patch) | |
| tree | 4a9039884d5f65352c64a72970a8fdd198e3476f /src/nsmenu.m | |
| parent | 3a37fceafaf3bf2697849012e20d265a228d431b (diff) | |
| download | emacs-5a06864fb69973eb2be01e230a98d6c24ff2138c.tar.gz emacs-5a06864fb69973eb2be01e230a98d6c24ff2138c.zip | |
Fix bug #1362. * image.c (x_clear_image_1): Do not free background under HAVE_NS, it is not an indexed color. * nsterm.m (free_indexed_color): Add argument checking. * nsfns.m: Move config.h to before system includes (advised by Dan N.).
Diffstat (limited to 'src/nsmenu.m')
| -rw-r--r-- | src/nsmenu.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nsmenu.m b/src/nsmenu.m index 825568f6557..8b06bdaddf8 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m | |||
| @@ -21,7 +21,10 @@ By Adrian Robert, based on code from original nsmenu.m (Carl Edman, | |||
| 21 | Christian Limpach, Scott Bender, Christophe de Dinechin) and code in the | 21 | Christian Limpach, Scott Bender, Christophe de Dinechin) and code in the |
| 22 | Carbon version by Yamamoto Mitsuharu. */ | 22 | Carbon version by Yamamoto Mitsuharu. */ |
| 23 | 23 | ||
| 24 | /* This should be the first include, as it may set up #defines affecting | ||
| 25 | interpretation of even the system includes. */ | ||
| 24 | #include "config.h" | 26 | #include "config.h" |
| 27 | |||
| 25 | #include "lisp.h" | 28 | #include "lisp.h" |
| 26 | #include "window.h" | 29 | #include "window.h" |
| 27 | #include "buffer.h" | 30 | #include "buffer.h" |