NS: Fix build with NSTRACE_ENABLED
* src/nsterm.h (NSTRACE_MSG_NO_DASHES): Use nstrace_enabled_global. * src/nsterm.m: ([EmacsView performDragOperation:]): Don't use an NSString.
This commit is contained in:
@@ -185,7 +185,7 @@ char const * nstrace_fullscreen_type_name (int);
|
||||
#define NSTRACE_MSG_NO_DASHES(...) \
|
||||
do \
|
||||
{ \
|
||||
if (nstrace_enabled) \
|
||||
if (nstrace_enabled_global) \
|
||||
{ \
|
||||
fprintf (stderr, "%-10s:%5d: [%5d]%.*s", \
|
||||
__FILE__, __LINE__, nstrace_num++, \
|
||||
|
||||
@@ -9123,7 +9123,7 @@ ns_in_echo_area (void)
|
||||
Lisp_Object type_sym;
|
||||
struct input_event ie;
|
||||
|
||||
NSTRACE (@"[EmacsView performDragOperation:]");
|
||||
NSTRACE ("[EmacsView performDragOperation:]");
|
||||
|
||||
source = [sender draggingSource];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user