MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / ShowErrorMessage

Function ShowErrorMessage

src/Platform_Posix.c:953–958  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

951/* Implemented in interop_BeOS.cpp */
952#elif defined CC_BUILD_OS2
953inline static void ShowErrorMessage(const char *url) {
954 static char errorMsg[] = "Could not open browser. Please go to: ";
955 cc_string message = String_Init(errorMsg, strlen(errorMsg), 500);
956 String_AppendConst(&message, url);
957 Logger_DialogWarn(&message);
958}
959
960cc_result Process_StartOpen(const cc_string* args) {
961 char str[NATIVE_STR_LEN];

Callers 1

Process_StartOpenFunction · 0.85

Calls 3

String_InitFunction · 0.85
String_AppendConstFunction · 0.85
Logger_DialogWarnFunction · 0.85

Tested by

no test coverage detected