mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-09-06 03:18:19 +00:00
style: fix formatting
This commit is contained in:
@@ -144,7 +144,7 @@ pub fn init(core_app: *CoreApp, opts: Options) !App {
|
|||||||
const result: bool = switch (config.@"async-backend") {
|
const result: bool = switch (config.@"async-backend") {
|
||||||
.auto => unreachable,
|
.auto => unreachable,
|
||||||
.epoll => if (comptime xev.dynamic) xev.prefer(.epoll) else false,
|
.epoll => if (comptime xev.dynamic) xev.prefer(.epoll) else false,
|
||||||
.io_uring => if (comptime xev.dynamic) xev.prefer(.io_uring) else false,
|
.io_uring => if (comptime xev.dynamic) xev.prefer(.io_uring) else false,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (result) {
|
if (result) {
|
||||||
|
@@ -86,7 +86,8 @@ pub fn init(resources_dir: []const u8) InitError!void {
|
|||||||
log.debug("binding domain={s} path={s}", .{ build_config.bundle_id, path });
|
log.debug("binding domain={s} path={s}", .{ build_config.bundle_id, path });
|
||||||
_ = bindtextdomain(build_config.bundle_id, path.ptr) orelse
|
_ = bindtextdomain(build_config.bundle_id, path.ptr) orelse
|
||||||
return error.OutOfMemory;
|
return error.OutOfMemory;
|
||||||
}}
|
},
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Set the global gettext domain to our bundle ID, allowing unqualified
|
/// Set the global gettext domain to our bundle ID, allowing unqualified
|
||||||
|
Reference in New Issue
Block a user