diff options
author | Adrian Robert <[email protected]> | 2008-11-25 02:45:39 +0000 |
---|---|---|
committer | Adrian Robert <[email protected]> | 2008-11-25 02:45:39 +0000 |
commit | 5a06864fb69973eb2be01e230a98d6c24ff2138c (patch) | |
tree | 4a9039884d5f65352c64a72970a8fdd198e3476f /src/nsmenu.m | |
parent | 3a37fceafaf3bf2697849012e20d265a228d431b (diff) |
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 825568f655..8b06bdaddf 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, Christian Limpach, Scott Bender, Christophe de Dinechin) and code in the Carbon version by Yamamoto Mitsuharu. */ +/* This should be the first include, as it may set up #defines affecting + interpretation of even the system includes. */ #include "config.h" + #include "lisp.h" #include "window.h" #include "buffer.h" |