1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

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:
Gerd Möllmann 2025-07-23 11:54:38 +02:00
parent 0d752f15b8
commit 2d1d1f31df
2 changed files with 2 additions and 2 deletions

View file

@ -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++, \

View file

@ -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];