mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-07 05:43:20 +00:00
chore: sync changes with ghostty_string_s
This commit is contained in:
@@ -353,7 +353,7 @@ typedef struct {
|
||||
typedef struct {
|
||||
const char* ptr;
|
||||
uintptr_t len;
|
||||
uintptr_t cap;
|
||||
bool sentinel;
|
||||
} ghostty_string_s;
|
||||
|
||||
typedef struct {
|
||||
|
||||
@@ -130,7 +130,6 @@ export fn ghostty_config_open_path() c.String {
|
||||
return .empty;
|
||||
};
|
||||
|
||||
// Capacity is len + 1 due to sentinel
|
||||
return .fromSlice(path);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user