Space between "defined" and "(".
This commit is contained in:
parent
5550a72cf2
commit
cf7a0de6e7
5 changed files with 9 additions and 9 deletions
|
@ -1855,7 +1855,7 @@ See `redirect-frame-focus'. */)
|
|||
/* Return the value of frame parameter PROP in frame FRAME. */
|
||||
|
||||
#ifdef HAVE_WINDOW_SYSTEM
|
||||
#if !HAVE_NS && !defined(WINDOWSNT)
|
||||
#if !HAVE_NS && !defined (WINDOWSNT)
|
||||
static
|
||||
#endif
|
||||
Lisp_Object
|
||||
|
|
|
@ -8054,7 +8054,7 @@ imagemagick_load_image (struct frame *f, struct image *img,
|
|||
|
||||
init_color_table ();
|
||||
|
||||
#if defined(HAVE_MAGICKEXPORTIMAGEPIXELS) && ! defined(HAVE_NS)
|
||||
#if defined (HAVE_MAGICKEXPORTIMAGEPIXELS) && ! defined (HAVE_NS)
|
||||
if (imagemagick_render_type != 0)
|
||||
{
|
||||
/* Magicexportimage is normally faster than pixelpushing. This
|
||||
|
|
|
@ -3922,7 +3922,7 @@ extern Lisp_Object Qvisible;
|
|||
extern void store_frame_param (struct frame *, Lisp_Object, Lisp_Object);
|
||||
extern void store_in_alist (Lisp_Object *, Lisp_Object, Lisp_Object);
|
||||
extern Lisp_Object do_switch_frame (Lisp_Object, int, int, Lisp_Object);
|
||||
#if HAVE_NS || defined(WINDOWSNT)
|
||||
#if HAVE_NS || defined WINDOWSNT
|
||||
extern Lisp_Object get_frame_param (struct frame *, Lisp_Object);
|
||||
#endif
|
||||
extern void frames_discard_buffer (Lisp_Object);
|
||||
|
|
|
@ -885,7 +885,7 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side
|
|||
|
||||
#ifdef NS_IMPL_GNUSTEP
|
||||
sprintf(tmp, "gnustep-gui-%s", Xstr(GNUSTEP_GUI_VERSION));
|
||||
#elif defined(NS_IMPL_COCOA)
|
||||
#elif defined (NS_IMPL_COCOA)
|
||||
sprintf(tmp, "apple-appkit-%.2f", NSAppKitVersionNumber);
|
||||
#else
|
||||
tmp = "ns-unknown";
|
||||
|
@ -902,7 +902,7 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side
|
|||
{
|
||||
#ifdef NS_IMPL_GNUSTEP
|
||||
return GNUSTEP_GUI_MAJOR_VERSION * 100 + GNUSTEP_GUI_MINOR_VERSION;
|
||||
#elif defined(NS_IMPL_COCOA)
|
||||
#elif defined (NS_IMPL_COCOA)
|
||||
return (int)NSAppKitVersionNumber;
|
||||
#endif
|
||||
return 0;
|
||||
|
@ -2493,7 +2493,7 @@ and GNUstep implementations ("distributor-specific release
|
|||
vy = (short) (primary_display_height -
|
||||
vfr.size.height - vfr.origin.y);
|
||||
}
|
||||
|
||||
|
||||
m->geom.x = (short) fr.origin.x;
|
||||
m->geom.y = y;
|
||||
m->geom.width = (unsigned short) fr.size.width;
|
||||
|
|
|
@ -612,8 +612,8 @@ - (void)menuNeedsUpdate: (NSMenu *)menu
|
|||
if (trackingMenu == 0)
|
||||
return;
|
||||
/*fprintf (stderr, "Updating menu '%s'\n", [[self title] UTF8String]); NSLog (@"%@\n", event); */
|
||||
#if ! defined(NS_IMPL_COCOA) || \
|
||||
MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5
|
||||
#if (! defined (NS_IMPL_COCOA) \
|
||||
|| MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5)
|
||||
/* Don't know how to do this for anything other than OSX >= 10.5
|
||||
This is wrong, as it might run Lisp code in the event loop. */
|
||||
ns_update_menubar (frame, true, self);
|
||||
|
@ -1240,7 +1240,7 @@ - (void) addDisplayItemWithImage: (EmacsImage *)img
|
|||
#ifdef NS_IMPL_GNUSTEP
|
||||
[self insertItemWithItemIdentifier: identifier atIndex: idx];
|
||||
#endif
|
||||
|
||||
|
||||
[item setTag: tag];
|
||||
[item setEnabled: enabled];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue