From 0954f084b6a0b92b3ca6a76573ab4703400d6627 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sat, 11 Sep 2021 13:10:32 +1000 Subject: [PATCH] Mac: Remove Alpha status from cocoa version --- src/Constants.h | 3 --- src/Platform_Posix.c | 2 +- src/interop_cocoa.m | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Constants.h b/src/Constants.h index 5d4430ea6..147ddea25 100644 --- a/src/Constants.h +++ b/src/Constants.h @@ -12,9 +12,6 @@ #define GAME_APP_ALT "ClassiCube 1.2.7 web mobile" #define GAME_APP_NAME "ClassiCube 1.2.7 web" #define GAME_APP_TITLE "ClassiCube" -#elif defined CC_BUILD_COCOA -#define GAME_APP_NAME "ClassiCube 1.2.7 alpha" -#define GAME_APP_TITLE "ClassiCube 1.2.7 alpha" #elif defined CC_BUILD_ANDROID #define GAME_APP_NAME "ClassiCube 1.2.7 android alpha" #define GAME_APP_TITLE "ClassiCube 1.2.7 android alpha" diff --git a/src/Platform_Posix.c b/src/Platform_Posix.c index fee46c405..6b09d1e89 100644 --- a/src/Platform_Posix.c +++ b/src/Platform_Posix.c @@ -508,7 +508,7 @@ int Socket_ValidAddress(const cc_string* address) { } cc_result Socket_Connect(cc_socket* s, const cc_string* address, int port) { - int family, addrSize, blocking_raw = -1; /* non-blocking mode */ + int family, addrSize = 0, blocking_raw = -1; /* non-blocking mode */ union SocketAddress addr; cc_result res; diff --git a/src/interop_cocoa.m b/src/interop_cocoa.m index 84af2f77a..a578bcc32 100644 --- a/src/interop_cocoa.m +++ b/src/interop_cocoa.m @@ -483,7 +483,7 @@ void ShowDialogCore(const char* title, const char* msg) { [alert setMessageText: titleCF]; [alert setInformativeText: msgCF]; - [alert addButtonWithTitle: CFSTR("OK")]; + [alert addButtonWithTitle: @"OK"]; [alert runModal]; CFRelease(titleCF);