summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXMenu.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2023-03-28 20:14:56 (GMT)
committerfvogel <fvogelnew1@free.fr>2023-03-28 20:14:56 (GMT)
commitbcd20424a5cf76ad6d464be73fe07aa2adc70e4e (patch)
tree77133a3df0027812ed84b40f2ef3dfc6487120b2 /macosx/tkMacOSXMenu.c
parentea371117d2abdc1fec0daf49dd2f8709c0fd857a (diff)
downloadtk-bcd20424a5cf76ad6d464be73fe07aa2adc70e4e.zip
tk-bcd20424a5cf76ad6d464be73fe07aa2adc70e4e.tar.gz
tk-bcd20424a5cf76ad6d464be73fe07aa2adc70e4e.tar.bz2
Fix [ee0847f633]: Aqua: compiler warning in debug builds.
Diffstat (limited to 'macosx/tkMacOSXMenu.c')
-rw-r--r--macosx/tkMacOSXMenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXMenu.c b/macosx/tkMacOSXMenu.c
index c10944a..f853abe 100644
--- a/macosx/tkMacOSXMenu.c
+++ b/macosx/tkMacOSXMenu.c
@@ -501,7 +501,7 @@ static Bool runMenuCommand = true;
{
(void)notification;
#ifdef TK_MAC_DEBUG_NOTIFICATIONS
- TKLog(@"-[%@(%p) %s] %@", [self class], self, _cmd, notification);
+ TKLog(@"-[%@(%p) %s] %@", [self class], self, sel_getName(_cmd), notification);
#endif
if (backgroundLoop) {
[backgroundLoop cancel];
@@ -522,7 +522,7 @@ static Bool runMenuCommand = true;
{
(void)notification;
#ifdef TK_MAC_DEBUG_NOTIFICATIONS
- TKLog(@"-[%@(%p) %s] %@", [self class], self, _cmd, notification);
+ TKLog(@"-[%@(%p) %s] %@", [self class], self, sel_getName(_cmd), notification);
#endif
if (backgroundLoop) {
[backgroundLoop cancel];