mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 22:44:50 +02:00
Another stab at #10152
This commit is contained in:
@@ -96,7 +96,8 @@ polymorphic_string_as_utf8(id string) {
|
|||||||
characters = [string string];
|
characters = [string string];
|
||||||
else
|
else
|
||||||
characters = (NSString*) string;
|
characters = (NSString*) string;
|
||||||
return [characters UTF8String];
|
const char* ans = [characters UTF8String];
|
||||||
|
return ans ? ans : "(nil)";
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
|
|||||||
Reference in New Issue
Block a user