From c88dc48817d92d9103a4852a56c494d95e1dc214 Mon Sep 17 00:00:00 2001 From: IoIxD Date: Thu, 16 Apr 2026 00:55:18 -0700 Subject: [PATCH] cmacos: Right we can just use the lowercase newcwindow instead of worrying about pascal conversions --- src/backend/classicmacos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/classicmacos.c b/src/backend/classicmacos.c index 8745c0c..4fa7ab3 100644 --- a/src/backend/classicmacos.c +++ b/src/backend/classicmacos.c @@ -9,7 +9,7 @@ static MwLL MwLLCreateImpl(MwLL parent, int x, int y, int width, int height) { /* todo: how do we set parent windows? If we can't, what is our equivalant to MacOS's NSViews, Wayland's subsurfaces, etc.? */ SetRect(&r->cmacos.winRect, x, y, width, height); - r->cmacos.window = NewCWindow(nil, &r->cmacos.winRect, (ConstStr255Param) "\p", true, + r->cmacos.window = newcwindow(nil, &r->cmacos.winRect, "", true, documentProc, (WindowPtr)(-1), true, 0); SetPort(r->cmacos.window);