From 4a0059b2f13775555291fa8d7af5c0a2a120e026 Mon Sep 17 00:00:00 2001 From: IoIxD Date: Sun, 26 Apr 2026 22:12:00 -0700 Subject: [PATCH] typo --- src/backend/nococoa.m | 2 +- src/core.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/nococoa.m b/src/backend/nococoa.m index c0e3c70..828f830 100644 --- a/src/backend/nococoa.m +++ b/src/backend/nococoa.m @@ -1,6 +1,6 @@ #include -void MwLLNoCocoaErrorMessage() { +void MwLLNoCocoaErrorMessage(void) { NSAlert* alert = [[NSAlert alloc] init]; [alert setMessageText:@"Milsko applications currently requires XQuartz or cocoa-way. PRs are welcome for anyone who wants to finish the Cocoa backend (prefarably in Objective-C)"]; [alert addButtonWithTitle:@"Ok"]; diff --git a/src/core.c b/src/core.c index 1565963..3b322a4 100644 --- a/src/core.c +++ b/src/core.c @@ -989,8 +989,8 @@ int MwLibraryInit(void) { } #ifdef __APPLE__ - void MwNoCocoaErrorMessage(); - MwNoCocoaErrorMessage(); + void MwLLNoCocoaErrorMessage(void); + MwLLNoCocoaErrorMessage(); #else printf("[WARNING] No suitable GUI backend found! Enabled:" #ifdef USE_COCOA